HolographicDisplaysAPI create hologram, hex colors in text.
teddhun opened this issue ยท 1 comments
Confirmation
- I have read the FAQ.
- I have tested the latest development build of Holographic Displays and the bug is still present.
- I have updated Spigot to the latest release for my particular Minecraft version.
- I made sure the bug hasn't already been reported on the issue tracker.
Description
I created Hologram with the API, but somehow I can't colorize the text with hex.
I tried multiple variations..
- #hexcode
- &#hecode
- <#hexcode>
How to reproduce
- Create a hologram via API.
- AppendText with hex color
Server version
Spigot 1.18.2
Holographic Displays version
HolographicDisplaysAPI 3.0.0
Installed plugins that allow players to join with multiple Minecraft versions
ViaVersion
Additional information
`Hologram hologram = instance.getHolographicDisplaysAPI().createHologram(location);
hologram.getVisibilitySettings().setGlobalVisibility(VisibilitySettings.Visibility.HIDDEN);
hologram.getVisibilitySettings().setIndividualVisibility(player, VisibilitySettings.Visibility.VISIBLE);
hologram.getLines().appendText("b5fC7Camo");`