multichat | I can not change the shopkeeper name
blablubbabcDEV opened this issue · 2 comments
Migrated from: https://dev.bukkit.org/projects/shopkeepers/issues/533
Originally posted by mat41997 (Sep 9, 2017):
Originally commented by blablubbabc (Sep 10, 2017):
MultiChat seems to fully take over chat handling (by cancelling chat events on the bungeecoord side and manually sending messages to individual players), making any plugin listening for bukkit chat events not work. I am not willing to put any chat-plugin specific handling into shopkeepers. They are basically breaking the chat system, so it shouldn't be up to all other plugins trying to fix it.. So I will close this as 'declined'.
Â
Maybe they could fix it by additionally having a per-server-instance plugin which reacts to plugin messages, similar to how BungeeSuiteChat works (though they have the same issue for muted chat, because they handle mutes not locally on the server-instance, but on the bungee-coord side as well).
Basically: A player chats and then either the bungee-coord plugin or the per-server-instance plugin reacts to it and determines which other players need to receive the message and then sends plugin messages to other server-instances which then handle it accordingly. The key is to either not cancel the chat event on the bugee-coord side, OR at least manually call an AsyncChatEvent on the server-instance the chatting player is connected to.
Â
However, this is up to the MultiChat people to look into.
Â
Edited Sep 10, 2017