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 20 forks source link

Formatting Bug #45

Closed MatrixSystemPVP closed 1 year ago

MatrixSystemPVP commented 1 year ago

Describe the bug The Plugin does not format colors from Placeholders.

To Reproduce Steps to reproduce the behavior:

  1. Set a Line in the Config to %luckperms_prefix% or something similar, which will output a HEX colored String
  2. Reload the config
  3. Look at the Scoreboard and notice the String from that Placeholder not being formatted

Expected behavior I expect it to format as if I set the line to &#2cb2ff&lDev directly without using any Placeholder.

Screenshots grafik grafik

xism4 commented 1 year ago

Describe the bug The Plugin does not format colors from Placeholders.

To Reproduce Steps to reproduce the behavior:

  1. Set a Line in the Config to %luckperms_prefix% or something similar, which will output a HEX colored String
  2. Reload the config
  3. Look at the Scoreboard and notice the String from that Placeholder not being formatted

Expected behavior I expect it to format as if I set the line to &#2cb2ff&lDev directly without using any Placeholder.

Screenshots grafik grafik

Yes MAIN branch have's that PlaceHolderAPI problem with colours.

https://github.com/ShieldCommunity/SternalBoard/releases/tag/2.1.0-b2

It includes also some performance tweaks and some other features.

MatrixSystemPVP commented 1 year ago

Alrighty, it works with the pre-release Version.

You should probably leave this Issue open until the Version is fully released, so anyone else encountering the Problem will be able to see the answer easily ^^ It's up to you tho, how you want to handle it :)