arkflame / CleanMOTD

Simple and light plugin to manage the motd of your server.
https://www.spigotmc.org/resources/58268/
MIT License
15 stars 14 forks source link

No escape character for '&' #6

Closed kaxlabs closed 3 years ago

kaxlabs commented 3 years ago

Motds have limited space and new server features are easier to list when you can use the '&' unicode in plaintext. Currently all &'s format to a color code regardless if formatted as \u0026. Using a forward slash \ before the character would be an easy way to escape and follow similar format escaping conventions such as Discord.

This issue has been tested on the bungeecord version.

linsaftw commented 3 years ago

Hi, this is handled by your Bungee/Spigot ChatColor.translateAlternateColorCodes()