EssentialsX

EssentialsX

2M Downloads

EssentialsX Discord doesn't support Paper chat events

Envel-Nikita-Gutsenkov opened this issue ยท 1 comments

commented

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

  1. Install example plugin and EssentialsX discord with discord hook
  2. Send any message (any message will be canceled)
  3. Check out the discord chat

Expected behaviour

Hmmm... don't send a message?

Actual behaviour

Message sent successfully xD

commented

Known bug, currently it doesn't support the paper chat events