Hex color codes included in max nick length regardless of setting
LcorpOfficial opened this issue ยท 1 comments
Type of bug
Other unexpected behaviour
/ess dump all
output
https://essentialsx.net/dump.html?id=80ea99408ee34d4c835b653a177f6258
Error log (if applicable)
No response
Bug description
Hex color codes are included in char length limit regardless of setting in config.yml
Steps to reproduce
- ignore-colors-in-max-nick-length: true
- max-nick-length: 20
- set nick to 20 char name with hex codes
- get error: nick too long
Expected behaviour
color codes should be omitted from nick, same as &
codes
Actual behaviour
hex codes are counted toward char limit on nick.
I'm unable to reproduce this on the latest version of Essentials. It appears to be working as intended using both &X
and &#RRGGBB
color formats.
If you are still having this problem after updating, please open a new issue. Also test with only Essentials installed, to make sure that it isn't an issue with one of your 84 other plugins.