Skip to content

Text Format

CodeCrafter47 edited this page Mar 10, 2022 · 4 revisions

Formatting Codes

Text can be formatted using the & or § sign followed by another character. The following image demonstrates the effect of different formatting codes on the tab list.

24Bit RGB Colors

Note: This feature is only available on 1.16 or later. If there are older clients connected to the server this won't work.

You can use &#RRGGBB, {#RRGGBB} or [color=#RRGGBB] to use any color in hexadecimal notation. You have to replace #RRGGBB with a color in hexadecimal notation, e.g. #012345.

Color gradient

You can use the !color_animation component to create a custom placeholder that turns any text into the specified gradient.
The component is explained in detail on the Custom Placeholders page.

Fonts

Note: This feature is only available on 1.16 or later. If there are older clients connected to the server this won't work.

You can use [font=<name>] to select a font to be used. The following image shows the three fonts built in to minecraft.

If you have a resource pack on your server providing additional fonts, you can use those as well.