EssentialsX

EssentialsX

2M Downloads

EssentialsDiscord: local messages treated as global and relayed when all players are in local message range

stepa2 opened this issue ยท 0 comments

commented

Type of bug

Exploit

/ess dump all output

https://essentialsx.net/dump.html?id=5b9d8973f60f490b9ccedf0513ffbc1b

Error log (if applicable)

No response

Bug description

Local messages treated as global and relayed when all players are in local message range.
Yes, I am using Mohist, but the problem is in Essentials code.

chatEvent.setCancelled(!jda.getSettings().isShowAllChat() && !event.getRecipients().containsAll(Bukkit.getOnlinePlayers()));

Steps to reproduce

  1. Setup discord channel
  2. Configurate EssentialsDiscord\config.yml, set chat.show-all-chat to false
  3. Have two people in local message range
  4. One player should say something (as local message)

Expected behaviour

Message should not be relayed to Discord chat

Actual behaviour

Message is relayed to Discord chat