You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My answer concerning this topic from dev.bukkit.org:
Hey, I don't have the time to work on ServerlistMOTD currently, super sorry. But there is a way you can still use hex codes, it's just not super nice:
Let's say you want to use the hex code #FF0000. You have to switch # with an x and append a & to every character. It will look like this: &x&f&f&0&0&0&0Welcome
You can also do gradients manually. Example from #1515db to #2bfafa:
&x&1&5&1&5&d&bN &x&1&c&6&1&e&5i &x&2&3&a&d&e&fc &x&2&b&f&a&f&ae (remove spaces ofc)
Which will write out "Nice" from a darkish blue to an aqua. You can use this site, to get the in-between hex codes: https://colorize.fun/en/minecraft
I know it's not nice to use but it works for the moment. :)
- Added HEX support, thanks to @harry0198 and his HexiTextLib! He did 99% of the work and I just needed to make so small adjustments. #21
- Catch possible NPE with getOfflinePlayer #32
- Use Logger instead of sysout #31
- Let ServerlistMOTD shut up and stop spamming console 😆
No description provided.
The text was updated successfully, but these errors were encountered: