EssentialsX Discord doesn't support Paper chat events
Envel-Nikita-Gutsenkov opened this issue ยท 1 comments
Type of bug
Compatibility issue, Other unexpected behaviour
/ess dump all
output
EssentialsX 2.19.7
Error log (if applicable)
Bug description
Essentialsx discord ignores event.setCancelled(true) and still sends this message to discord
code example:
@EventHandler public void onPlayerChat(AsyncChatEvent event) { event.setCancelled(true); }
plugin example https://drive.google.com/file/d/1Ipjs0epv6tJE9LpXrM2-0a24GGqwLLMi/view?usp=sharing
Steps to reproduce
- Install example plugin and EssentialsX discord with discord hook
- Send any message (any message will be canceled)
- Check out the discord chat
Expected behaviour
Hmmm... don't send a message?
Actual behaviour
Message sent successfully xD