Essentials icon indicating copy to clipboard operation
Essentials copied to clipboard

EssentialsX Discord doesn't support Paper chat events

Open Envel-Nikita-Gutsenkov opened this issue 2 years ago • 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

  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

Envel-Nikita-Gutsenkov avatar Feb 04 '23 21:02 Envel-Nikita-Gutsenkov

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

JRoy avatar Feb 05 '23 00:02 JRoy