Open Skirlez opened 5 years ago
There's been another issue on this topic: #6
The gist of it is, that it's hard for a BungeeCord plugin to call a Bukkit event.
As a result FreeBungeeChat will probably never be able to call the AsyncPlayerChatEvent
event.
But isn't there a bukkit bridge? doesn't that help?
That could be used to call the AsyncPlayerChatEvent
, however the are two major issues with it:
AsyncPlayerChatEvent
is supposed to contain information on who will receive that chat message. This data can't be supplied correctly as there's no way of referring to a player connected to a different Bukkit server. So plugins which use/manipulate that data (which is a major use case for the AsyncPlayerChatEvent
) won't work correctly. Ergo even if that event was somehow called by FreeBungeeChat many plugins using it still won't work correctly.So there is nothing that can be done?
Well at least there's nothing I will do.
the plugin needs to call AsyncPlayerChatEvent for plugins to see that you wrote a message. some plugins tell you to type something in chat, and the plugin blocks it.