Essentials icon indicating copy to clipboard operation
Essentials copied to clipboard

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

Open stepa2 opened this issue 3 years ago • 0 comments

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.

https://github.com/EssentialsX/Essentials/blob/d86b471402e20f39a774fba2ae5ba6dc3cc26712/EssentialsDiscord/src/main/java/net/essentialsx/discord/listeners/BukkitListener.java#L88

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

stepa2 avatar Jul 11 '22 12:07 stepa2