Class ChatMarkup
java.lang.Object
tech.guilhermekaua.spigotboot.core.spigot.text.ChatMarkup
A small, dependency-free chat markup language that renders consistently across MC versions.
Built on the bundled BungeeCord chat API only (no Adventure / MiniMessage), so it stays usable on
1.8.8. A single forward pass produces two outputs:
parse(String)→BaseComponent[]for players: discreteTextComponentruns (noComponentBuilderformat-bleed) carrying colours, styles, click and hover.legacy(String)→ a legacy§-string for item meta / console: colours and hex are resolved to section codes and the interactive tags are stripped (inner text kept).
&/§ colour + style codes (k l m n o r), #rrggbb hex
(version-gated via HexSupport), [click=run|suggest|url:value]…[/click],
[hover=text]…[/hover], and \ escapes.-
Method Details
-
parse
-
legacy
-
legacy
Colours/hex resolved to§-codes; interactive tags stripped (their inner text kept). For item meta. -
parse
-