Skip to main content

text

Adventure text helpers in the house style, on top of palette. Source in libs/text/.

HelperUse
Text.plain(s) / heading(s) / dim(s)Ordinary, heading and secondary text
Text.ok(s) / error(s)Success and refusal lines for command output
Text.brand()"Shatterveil" in rose, bold
Text.line(label, value[, colour]) label: value rows, as in /module info
Text.bullet(component) • item rows
Text.join(items, ifEmpty)Sorted, comma-joined lists

Rarity words, number/silver formatting and translation keys are added in the tier that first needs them.

Depends on: palette, Adventure API (compile; Minestom ships it at runtime).