Skip to content

Formatting

All text options, with exception of Conditions, allow the usage of formatting options using MiniMessage.

Online Tool

The devs of the Adventure library provide a handy online tool to create the right formatting codes to display the text properly.
You can find the tool at https://webui.advntr.dev/

Before starting

Please make sure to surround your text with either single quotes (') or double quotes (").
This avoids possible issues where the YAML parser would treat lines starting with specific characters as special options (i.e. < would be treated as a scolar value).

Wrong formatting
motd:
  - <red>This will cause
  - <red>Errors
Right formatting
motd:
  - '<green>This will be formatted'
  - '<green>properly.'

Unsupported options

The following options are not supported, no matter what option they are used in:

  • Hover Actions (Show text, Show Advancement, etc)
  • Click Actions (Run command, Suggest command, etc.)
  • Custom Fonts (May work if player already has the resource pack loaded)

Colors

Color options (<aqua>, <red>, <gray>, etc.) are available for all text options.
24-Bit HEX colors (<#ff0000>, <#123abc>, etc.) are only available for the Motd option for a 1.16+ Server/Proxy.

Formatting

Formatting options (<bold>, <italic>, etc.) are available for all text options.