Clan chat improvements
xtomyserrax opened this issue ยท 4 comments
Could we check in AsyncPlayerChatEvent for clan chat if the event is cancelled?
For example it happens in my server that if Im in staffchat and simple clans chat at the same time then I send messages to both chats. Of course Im dumb for not remembering that Im on both of them, but there are some plugins which after the command requires some chat messages and they would also be sent to the clan chat. Dont know what you think about it.
(Path: src/main/java/net/sacredlabyrinth/phaed/simpleclans/listeners/SCPlayerListener.java)
You could just suround the clan chat part of the event with an if(!event.isCancelled()) or cancel it all (idk if you would like to cancel it all as you may use it for some other things despite it is cancelled)
Thanks!
I can make the pull, but if you want you can do it yourself as you also need to check my other one so you dont need to check more haha
Could we check in AsyncPlayerChatEvent for clan chat if the event is cancelled?
Sure.