Colors
The color and style codes you can use in every configurable text.
Two formats work in every text zQuestRank lets you edit: classic & codes and &#rrggbb hex colors. You can mix both in the same line.
Where they work
- Rank
display-nameinranks.yml. - Quest
display-nameand customlorelines. - Requirement
displaylines. - Every message in the
lang/files.
display-name: "&#ffd25a&lRank II"Classic color codes
| Code | Color | Code | Color |
|---|---|---|---|
&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 |
Style codes
| Code | Style |
|---|---|
&l | Bold |
&o | Italic |
&n | Underline |
&m | Strikethrough |
&k | Obfuscated (scrambling "magic" text) |
&r | Reset (back to plain) |
Order matters: put the color first, then the style. &6&lGold and bold works; &l&6... drops the bold on some clients.
Hex colors
&#rrggbb gives you the full color range, not just the 16 classic ones:
display: "�c3ffIsland level &#ffd25a100"rrggbb is a standard hex color code; any web color picker gives you the six characters. Hex needs a 1.16+ client, which every player on a 1.18+ server already has.
Styles combine with hex the same way: &#ff8800&lBig orange text.
Placeholders and emojis
If you have PlaceholderAPI installed, any %...% placeholder works inside rank and quest names, lore and description lines. It gets filled in live for whoever is looking at the menu.
display-name: "&aRank II %vault_eco_balance_formatted%"This is also how you put custom emojis (ItemsAdder, and similar) into a menu name. The chat shortcut like :20: only works in chat, not in the menu, because the menu is drawn by zQuestRank directly. Use the emoji's placeholder instead. For ItemsAdder that is %img_<name>%, so the emoji :20: becomes:
display-name: "&aRank II %img_20%"Find the right placeholder for your emoji in game with /papi parse me %img_20% (swap 20 for your emoji name). If it prints the emoji, it will show in the menu too.
Without PlaceholderAPI, names simply show as typed, nothing breaks.
Not supported
MiniMessage tags (<gold>, <gradient>, click and hover actions) are not part of zQuestRank's text format. For a gradient look, hex-color the text in chunks:
display-name: "bd15bRafbe2enk &#f2a81eIII"