Minecrell / ServerListPlus

A flexible Minecraft plugin to customize the appearance of your server in the server list
https://git.io/slp
GNU General Public License v3.0
240 stars 58 forks source link

Add MiniMessage support to allow for HEX to be shown in the MOTD #308

Closed GiansCode closed 3 years ago

GiansCode commented 4 years ago

This was done by @darbyjack as a third party for Alerium; and I figured guys would benefit from this.

stephan-gh commented 3 years ago

Hm, apparently I never replied here. Sorry. Basically, I had a couple of concerns here:

As far as I understand the main motivation of this PR was just to provide support RGB colors. Support for RGB colors already exists in Bukkit and BungeeCord natively, without using some other libraries as I just described in https://github.com/Minecrell/ServerListPlus/issues/295#issuecomment-832716101. So, I have made use of the native support for RGB colors, built a bit of convenience around it (e.g. a nicer color code format, a gradient placeholder). This should be fairly equivalent to what is possible with this PR, but better integrated into SLP, fully backwards compatible and some other advantages.