Messages & text
Send text to players and the console, and colour it with Minecraft formatting codes.
Most plugin output is text - chat messages, titles, popups, sign text, form labels. You send it through whichever API surface carries text: a player with send_message, send_title, or send_popup, or the whole server with self.server.broadcast_message. However you send it, you colour and style the text the same way - with formatting codes.
Formatting codes
Color codes customise the color and formatting of text - in chat, on signs, in titles, in forms, and more. Each code is the section sign (§) followed by a character. Endstone exposes them through ColorFormat, so you don't type the raw codes.
from endstone import ColorFormat
text = f"This is {ColorFormat.YELLOW}yellow, {ColorFormat.AQUA}aqua and {ColorFormat.GOLD}gold{ColorFormat.RESET}."End colored text with ColorFormat.RESET to clear all color and formatting options.
All color and format codes
For the full list of codes and their names, see Formatting codes on the Minecraft Wiki. Every code maps to a ColorFormat member.