9.1.0 | The Colorful Update
______________________
Hello everyone!
It's 31st of December and I decided to releaze an important update for both spigot and bungeecord. It does not only add new rgb color support for bungeecord servers, but has very important changes that you must know about.
Text below will help you to find out what's new.
______________________
What's new:
1)
As I already mentioned above, now it is also possible to add rgb colors on bungeecord server's motd. You can find out how to do it here:
https://www.spigotmc.org/resources/advancednmotd-let-your-motd-smile.58677/update?update=370795.
2)
In previous version of AdvancedNMotd you could see a gray text instead of new 1.16+ rgb colored one when viewed motd from older than 1.16.x clients. This was an obvious result, because older clients simply do not support new color system. However, because of this it was really uncomfortable to use new advantage of the plugin. This is fixed now! Starting from this update for older than 1.16.x clients plugin automatically finds closest legacy color to new rgb one you used in motd and changes a text color to it! No more problems with display. Motd is now colorful on all clients! As the closest color may not always be the best one, there is a possibility for you to give a plugin a task to replace a special rgb color with any legacy one you like! You can do this in Colors.yml file. When replacing gradient text first color of a message is taken. If you want to use this feature with spigot servers you will need to install a ProtocolLib as a dependency. No extra plugins are reqiered to make this feature work for bungeecord.
Code (YAML):
#Let a player with old client (< 1.16) view
#your motd (requires ProtocolLib to work if you
#have a spigot server)
Replacements
:
#If a player with a legacy client (< 1.16)
#views your server's motd change every #CF3476
#color in it to &5 (if a replacement is not directly
#written, plugin will automatically find closest
#color in its opinion).
"#CF3476"
:
"&5"
3)
If you install AdvancedNMotd on a server that does not support rgb colors, plugin now will not create special files that are responsible for rgb. Whole configuration is now adapted to for this. If you think your server supports rgb, but plugin does not think so you can force colors support in Strings.yml file. Make sure you know what you are doing and do not forget to reload the whole server (with "reload", but not "anm reload" command) after you made changes.
Code (YAML):
#
#Hex colors placeholder
#
#Your server does not support
#rgb placeholders! Update it to
#1.16+ spigot/paper/tuinity
#or use bungeecord.
#
#If you believe that this is a mistake,
#set value of the field below to true
#and fully reload your server (with server's
#reload command):
forceHexSupport
: false
#Only change the field above if you know
#what you are doing.
#You can find out how to use rgb placeholders here:
#https://www.spigotmc.org/resources/advancednmotd-
#let-your-motd-smile.58677/update?update=370795
#
4)
Support for other than spigot servers to display rgb messages was added (for example, for paper spigot). Remember, that your server must have 1.16+ version.
5)
Optimized code and removed small mistakes. Now plugin is more stable and works a bit better.
6)
Brand new icons for this update were created! To get them simply run AdvancedNMotd with your Icons folder renamed and plugin will generate new one with new images.
How to update:
Just add the text below to your Colors.yml file:
Code (YAML):
#Let a player with old client (< 1.16) view
#your motd (requires ProtocolLib to work if you
#have a spigot server)
Replacements
:
#If a player with a legacy client (< 1.16)
#views your server's motd change every #CF3476
#color in it to &5 (if a replacement is not directly
#written, plugin will automatically find closest
#color in its opinion).
"#CF3476"
:
"&5"
______________________
Well, that's it! If you don't understand something or have any other problems, feel free to contact me via private message.
I started to write this topic when it was a 31st of December, but now it is already a 1st of January in my country! I would like to congradulate everyone with new year and wish you good luck.
Thank you for using my plugin! You are the best
______________________