GitHub
GlowText is a lightweight text parsing and formatting utility for Hytale that converts human-readable markup into structured Message objects.
It provides a flexible, tag-based syntax for applying colors, styles, and links to text while preserving correct formatting state across nested and mixed tags.
GlowText is designed to be:
- Predictable – formatting state is explicitly managed and restored
- Composable – nested colors, styles, and links behave intuitively
- Extensible – custom colors, default states, and syntax can be injected
- Safe – unmatched or invalid tags degrade gracefully into raw text
Features
- Named and hex colors:
{blue}text{/blue} {#453}text{/#453} - Bold, italic, monospace styles (with shorthands):
{bold}text{/bold} {m}text{/m} - Nested and mixed formatting:
{red}{bold}red and bold{/red} just bold{/bold} no styling - Links:
{link:https://example.com}click here{/link} - Custom color resolvers: Map arbitrary color names to hex values at parse time
- Customizable: The style tag characters (start '{' and end '}'), colors, and default applied styles can be set per-parse.
- Graceful fallback: Unknown or unmatched tags are emitted as plain text rather than failing

