EngineHub / WorldGuard

🛡️ Protect your Minecraft server and lets players claim areas
https://enginehub.org/worldguard/
Other
836 stars 545 forks source link

[Feature Request] Add support for Paper's AsyncChat #2059

Open NoltoxGit opened 10 months ago

NoltoxGit commented 10 months ago

The Problem

Hello, Can you add the support for the Paper AsyncChatEvent and/or AsyncChatDecorateEvent in the configuration of your plugin please? Because you're currently using an old listener: org.bukkit.event.player.AsyncPlayerChatEvent.

A Solution

Add a new configuration for this:

# Use Paper's async Chat Event
use-async-chat: true/false

Anything Else?

Thank you so much if you add this! :)

wizjany commented 7 months ago

i'm not entirely sure what the need here is. at the moment, worldguard (7.0.x) needs to a) maintain spigot compat and b) remove recipients from chat events we don't so much as touch the contents of the message, so there shouldn't(?) be any issues with things like formatting/components.