Skip to content

String formatting

xef5000 edited this page Jul 10, 2025 · 4 revisions

ItemsAPI string formatting

Strings passed through the API (name, lore) will receive the string formatting. Its purpose is to colorize strings

Color code character: &

Hex color: &#RRGGBB

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

Color

item:
  name: "&aThis &6is &9colored&f&l!"

Hex

item:
  material: "&#66ba81Mint Green"

Gradients

item:
  material: "<gradient:#ff0000:#bc4d4d>Test</gradient> <gradient:#00ff51:#1d7138>Item</gradient>"
Clone this wiki locally