Sudo gives "Chat message validation failure" kick message
icydoesstuff opened this issue ยท 4 comments
Type of bug
Other unexpected behaviour
/ess dump all
output
https://essentialsx.net/dump.html?id=7a3ad3b2c4e344dbada34250ae1a3d81
Error log (if applicable)
No response
Bug description
When running "/sudo (target player) c:(insert message here)" both the command sender and the target player get kicked for "Chat message validation failure"
Steps to reproduce
Install latest build of Essentials.
Put two accounts on your server
Run the command /sudo (other player) c:(insert message here)
Expected behaviour
Other player should say whatever message you put after c: without error.
Actual behaviour
Both your account and the other player's account get kicked for "Chat message validation failure"
I tried with the latest dev build (2.19.5-dev+40-422f25a), issue still occurs.
This is not a duplicate of #5031. It is most likely due to an implementation choice by Spigot regarding the chat method we call that will need either changing upstream or working around in EssentialsX.
Fixed as of Paper #116