Essentials icon indicating copy to clipboard operation
Essentials copied to clipboard

formatting codes in nicknames show up in command output.

Open sheet315 opened this issue 7 months ago • 1 comments

Type of bug

Other unexpected behaviour

/ess dump all output

https://essentialsx.net/dump.html?bytebin=rXXGvGrC7e

Error log (if applicable)

No response

Bug description

When you make a nickname with formatting codes (such as bold) they show up in command output.

For example you set your name to '&lNotch', in chat using {NICKNAME} placeholder, it shows up as Notch, but in commands (e.g /tp) it says "Teleporting to &lNotch..."

Image

Image

Steps to reproduce

  1. use /nick to give yourself a nickname with formatting codes
  2. use a command that shows the name in chat (tp,msg,etc)

Expected behaviour

The format codes in commands should format the command

Actual behaviour

The format codes appear as literal codes with the '&'

Additional Information

Server version purpur 1.21.4

sheet315 avatar May 23 '25 06:05 sheet315

can you run /ess debug, then give yourself the nickname and then send us a /ess dump all?

JRoy avatar May 25 '25 01:05 JRoy