Essentials
Essentials copied to clipboard
EssentialsDiscord: local messages treated as global and relayed when all players are in local message range
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
- Setup discord channel
- Configurate
EssentialsDiscord\config.yml, setchat.show-all-chattofalse - Have two people in local message range
- 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