

The formatting must be done after the color. The full list of them is listed below.Ĭolors can be used in conjunction with formatting. In order to get an MOTD colored or formatted, \u00A7 must be used instead of § for example, §5 would be \u00A75. Use in server.properties and pack.mcmeta The following text can be pasted into a Book and Quill (prior to 1.14) to produce what is shown in the picture: In early Java Edition Classic versions, the character used was & instead of §. While in chat in Java Edition, usage of this character disconnects the user, even in 'offline' single player mode, and thus cannot be used directly in commands such as /say. chat, command blocks, world names), and using the JSON format or another method may be necessary. Note that pasting does not work on everything (e.g. When part of JSON text, the symbol can be written as \u00A7 or \u00a7.Īlternatively in Bedrock Edition, the character can be copied from this page ( §) and Ctrl + V (Windows) or ⌘ Cmd + V (macOS) can be pressed to paste the character into a book.

This method also works on the Windows 10 version.

For example, any random character cycled through where the letter "m" would be wide characters while any random character in the spot of an "i" would be narrow characters. The random characters placed after §k are always the same width as the original characters. Messages sent from the server to the client can contain color codes, which allow the coloring of text for various purposes. Use "§" followed by the corresponding color letter/number e.g. Furthermore, if an obfuscated code is used and a reset code is not used before the end of the line, the client GUI continues to obfuscate text past the MOTD and into the version number display. In Bedrock Edition, formatting codes persist after a color code. Therefore, when using a color code in tandem with a formatting code, ensure the color code is used first and reuse the formatting code when changing colors. For example, §cX§nY displays as X Y, whereas §nX§cY displays as X Y. In Java Edition, if a color code is used after a formatting code, the formatting code is disabled beyond the color code point. In Bedrock Edition, the § symbol can be used in any text input, while in Java Edition, it may be used in server.properties, pack.mcmeta, world titles, and server names. A § symbol followed by a hex digit in the message tells the client to switch colors while displaying text. Text can be formatted using the section sign (§) followed by a character.

