MiniTextRenderer

Safe bounded text renderer for proxy/system messages.

Supported syntax (v1):

  • legacy: &a, &l, &r and § equivalents

  • hex: <#RRGGBB>, &#RRGGBB, section-hex §x§R§R§G§G§B§B

  • tags: <red>...</red>, <bold>...</bold>, <italic>...</italic>, <underline>...</underline>

  • gradient: <gradient:#RRGGBB:#RRGGBB>text</gradient>

Functions

Link copied to clipboard
fun render(input: String, profile: RenderProfile, limits: RenderLimits = RenderLimits()): String