Skip to main content

Colors

Any text the plugin shows can be colored, from the chat prefix to menu titles and item lore.

zCollections uses the classic & code style, plus hex colors and gradients on top. It does not use MiniMessage, so the <...> tags from other plugins do not apply here. Everything you need is on this page.

One format everywhere

The same codes work in every text field: the prefix and messages in your language file, the display-name and lore in categories.yml, and the titles and items in menus.yml.

The five ways to color text​

The little box next to each entry is its real color.

Sixteen built-in colors, each a single character after &.

display-name: '&aGreen text and &cred text'
CodeColorCodeColor
&0 Black&8 Dark Gray
&1 Dark Blue&9 Blue
&2 Dark Green&a Green
&3 Dark Aqua&b Aqua
&4 Dark Red&c Red
&5 Dark Purple&d Light Purple
&6 Gold&e Yellow
&7 Gray&f White

Mixing codes​

Codes stack from left to right and stay active until something changes them. Use &r to wipe formatting and start clean.

lore:
- '&#FFAA00Tier: &f{tier}&8/&f{max-tier}'
- '&7Keep gathering to &arank up&7.'

Good to know​

No MiniMessage

zCollections does not read MiniMessage tags like <red> or <bold>. Stick to the codes on this page and your text will always render. The one tag it does understand is <gradient:...>, shown above.

After editing any colored text, run /collection reload to see the change in game.