Repository navigation
Formatting messages and components
Coins supports coloring and formatting of components using the minimessage format. This means that all color codes go in diamond brackets. Anything you see in diamond brackets is a defined color. So-called 'legacy' color codes (&-codes) are not supported.
- Official minimessage documentation: https://docs.papermc.io/adventure/minimessage/format/
- Tool to try out coloring and formatting: https://webui.advntr.dev/
Minimessage allows for much customization, like shadow color, translatables, rainbow, gradients, fonts, or even sprites and heads to be included in the components. Some of these features do not work on Spigot. Paper has support for every feature.
It is important to understand that any color is supported! You can use a hex code in diamond brackets, like <#FF00000> to use this color. But next to that, the following named colors can also be used:
As the minimessage documentation also states, you can color components and items with shadow, rainbow, gradient, transition, and more!
As the minimessage documentation states, the following decorations can be used:
| Name | Tag |
|---|---|
| Bold |
<bold>, <b>
|
| Italic |
<italic>, <i>, <em>
|
| Underlined |
<underlined>, <u>
|
| Strikethrough |
<strikethrough>, <st>
|
| Obfuscated |
<obfuscated>, <obf>
|
'<up>↑ <money>{currency}{amount}'
'<up>↑ <white><head:9f2143d0-349c-4d4b-b0ae-9013f39a59dd> <money>{amount}'
'<#f9e76d>{amount} <gradient:#e39a33:#f9ce64>Coins'
'<minecoin_gold><lang:options.clouds.fancy> <lang:trim_material.minecraft.gold>'
'<white><head:jeb_> <rainbow>Rainbow Coin'
'<gold><sprite:"minecraft:items":item/raw_gold>'