-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Labels
bug: confirmedConfirmed bugs in EssentialsX.Confirmed bugs in EssentialsX.
Milestone
Description
Type of bug
Other unexpected behaviour
/ess dump all output
https://essentialsx.net/dump.html?id=198c833ad8eb4a96a162897908bc7932
Error log (if applicable)
No response
Bug description
If a player has the essentials.chat.rgb permission, but not any other color permissions such as essentials.chat.color, the RGB code will be stripped from the message. This seems to be due to expanding color codes into the vanilla §x§r§r§g§g§b§b format, then stripping the color codes the player does not have access to.
This screenshot is the result of sending "&#ff0000test" with the following essentials.chat.<suffix> permissions, top to bottom:
rgbrgb,colorrgb,whitergb,blackrgb,black,white
Messages 1, 3, and 4 display as "§xtest" in console.
Also happens in latest stable (2.19.6).
Steps to reproduce
- Give yourself the
essentials.chat.rgbpermission, but NOT any other chat color permissions - Type "&#ff0000test"
Expected behaviour
Should display "test" in bright red
Actual behaviour
Displays "test" in white
Metadata
Metadata
Assignees
Labels
bug: confirmedConfirmed bugs in EssentialsX.Confirmed bugs in EssentialsX.
