kennytv / Maintenance

Enable maintenance mode on your Minecraft server
https://hangar.papermc.io/kennytv/Maintenance
GNU General Public License v3.0
293 stars 22 forks source link

[Suggestion] Add Hex Color Support for 1.16+ Servers #59

Closed Myzumi closed 2 years ago

Myzumi commented 3 years ago

Please add Hex Color support for Servers above 1.16

kennytv commented 3 years ago

In theory you can already use Bungee Chat's rgb hack (like §x§a§a§b§b§c§c), but I'm hoping on using a better chat component library in the future - that requires a bit of work and would likely make this plugin Spigot/Bungee incompatible in favor of Paper/Waterfall (Velocity and Sponge already bundle that lib)

CoasterFreakDE commented 3 years ago

https://github.com/F1b3rDEV/minecraft-spigot-rgb-chat-support ^^

JosGCS commented 3 years ago

Hey @kennytv, any update regarding HEX Color support for Maintenance Bungee/Spigot plugin?

kennytv commented 2 years ago

Adventure component support with MiniMessage parsing has been added and will at some point be released, the initial wip can be found here https://github.com/kennytv/Maintenance/actions/runs/1631269460 (in case anyone uses them, make backups of your old configuration to use when 4.0.0 is actually released, otherwise you will miss out on new automatic upgrades from now) And here's a MiniMessage webeditor https://webui.adventure.kyori.net/

JosGCS commented 2 years ago

Adventure component support with MiniMessage parsing has been added and will at some point be released, the initial wip can be found here https://github.com/kennytv/Maintenance/actions/runs/1631269460 (in case anyone uses them, make backups of your old configuration to use when 4.0.0 is actually released, otherwise you will miss out on new automatic upgrades from now) And here's a MiniMessage webeditor https://webui.adventure.kyori.net/

That's not the type of HEX Color Support we're trying to request, take a look at ServerListPlus plugin HEX Color System: https://i.imgur.com/GWcxiPr.png

kennytv commented 2 years ago

MiniMessage probably has better and more streamlined rgb support with gradients and whatnot than any other library; take a look at https://docs.adventure.kyori.net/minimessage#usage and test with the linked webui

JosGCS commented 2 years ago

MiniMessage probably has better and more streamlined rgb support with gradients and whatnot than any other library; take a look at https://docs.adventure.kyori.net/minimessage#usage and test with the linked webui

Gradient works fine at 1.16+ servers, but users using Minecraft 1.7.x see this: https://i.imgur.com/FlDBdiH.png

kennytv commented 2 years ago

RGB colored components are a recent addition, whatever happens for lower versions you'll just have to accept and is not supported