ShieldCommunity / SternalBoard

Lightweight & animated scoreboard, packet-based designed for easy usage
https://www.spigotmc.org/resources/sternalboard-lightweight-animated-scoreboard.89245/
MIT License
64 stars 18 forks source link

HEX Code won't work #74

Open ditt0132 opened 4 months ago

ditt0132 commented 4 months ago

Describe the bug A clear and concise description of what the bug is. HEX-code converts to legacy hardcoded color

To Reproduce Steps to reproduce the behavior:

  1. go on scoreboard config (I did on animated scoreboard)
  2. Write color code, in my server it is #009BFF. (ex. #009BFFHi!)
  3. reload
  4. color codes convert to similar hard-coded color. in my case, it is &3

another problem

  1. go on scoreboard config. i did on animated scoreboard
  2. Write <gradient:#009BFF:white>
  3. 009BFF replaces to &3, and get error

Expected behavior HEX code starting with & only applies, and minimessage gradient, work properly and all HEX code dont change

Screenshots If applicable, add screenshots to help explain your problem. "#009BFFdd &3 dd": image

MC

Additional context nothing

ditt0132 commented 4 months ago

Additional information with MiniMessage: image "#009BFFdd &3 dd <color:#009BFF> hi"

xism4 commented 4 months ago
  • Server: Paper 1.20.4 497
  • Client: Minecraft 1.20.4

Correct, i'll give a check.