✒️Text Formatting
Crown uses a sophisticated text formatting engine. It supports three distinct formats, allowing for simple colors, hex colors, and advanced gradients/components via MiniMessage.
You can mix and match these formats in messages.yml, menus, and config files.
MiniMessage (Recommended)
Crown utilizes the Adventure MiniMessage format, which allows for advanced styling like gradients, rainbows, and hover events without complex codes.
Color
<color_name>
<red>Error!, <#ff0000>Red!
Gradient
<gradient:color1:color2>Text</gradient>
<gradient:#ff0000:#0000ff>Fire and Ice</gradient>
Rainbow
<rainbow>Text</rainbow>
<rainbow>Colorful Text</rainbow>
Bold
<bold>Text</bold> or <b>
<b>Important</b>
Italic
<italic>Text</italic> or <i>
<i>Slanted</i>
Reset
<reset>
<red>Red <reset>Normal
Tip: You can use a visual editor like WebUI to generate these strings easily.
Hex Colors (Legacy & Modern)
Crown supports direct Hex color codes for precise color matching.
Standard Hex:
&#RRGGBB(e.g.,&#FF5555)Hash Hex:
#RRGGBB(e.g.,#FF5555)Spigot format:
&x&r&r&g&g&b&b(Internal use, but supported)
Legacy Codes
Standard Minecraft formatting codes using & are fully supported and automatically translated.
&0
Black
&9
Blue
&1
Dark Blue
&a
Green
&2
Dark Green
&b
Aqua
&3
Dark Aqua
&c
Red
&4
Dark Red
&d
Light Purple
&5
Dark Purple
&e
Yellow
&6
Gold
&f
White
&7
Gray
&l
Bold
&8
Dark Gray
&o
Italic
&k
Obfuscated
&r
Reset
Example Usage in Config
Last updated
