How to Add Colors and a Second Line to Your Minecraft Server MOTD
The MOTD (message of the day) is the text under your server's name in the multiplayer list. Plain gray text works, but a little color makes your server look alive and easier to spot. Here's how to do it without ending up with weird symbols.
server.properties, write color codes as \u00A7 followed by a code, for example motd=\u00A7aFriends SMP \u00A77| \u00A7eSurvival. Add \n for a second line. Restart the server. For hex colors and gradients, use a plugin like MiniMOTD.Color codes
Each color is a section sign (§) plus one character:
| Code | Color | Code | Color |
|---|---|---|---|
0 |
Black | 8 |
Dark gray |
1 |
Dark blue | 9 |
Blue |
2 |
Dark green | a |
Green |
3 |
Dark aqua | b |
Aqua |
4 |
Dark red | c |
Red |
5 |
Purple | d |
Pink |
6 |
Gold | e |
Yellow |
7 |
Gray | f |
White |
And formatting:
| Code | Effect |
|---|---|
l |
Bold |
o |
Italic |
n |
Underline |
m |
Strikethrough |
k |
Scrambled text |
r |
Reset back to normal |
Formatting codes go after the color code. §a§l is bold green. §l§a loses the bold, because a color code resets formatting.
Write it in server.properties (the \u00A7 trick)
Typing the § symbol straight into server.properties often turns into § or garbage, because of how the file is saved. The safe way is to write \u00A7 wherever you'd put §:
motd=\u00A7a\u00A7lFriends SMP \u00A78| \u00A7eSurvival 26.3
That shows Friends SMP in bold green, a dark gray bar, and yellow text.
Save the file and restart the server. Then refresh your multiplayer list.
Add a second line
Use \n to start line two:
motd=\u00A7a\u00A7lFriends SMP\n\u00A77Survival \u00A78| \u00A7bCrossplay \u00A78| \u00A7dEvents Fridays
Each line fits about 45 to 60 characters before it's cut off, so keep it short. A good pattern: server name on line one, what makes it different on line two.
Ideas that work
\u00A76\u00A7lCozy Builds SMP\n\u00A77Whitelist \u00A78| \u00A7aJava + Bedrock\u00A7b\u00A7lATM10 Server\n\u00A77Modded \u00A78| \u00A7eNew season started\u00A7c\u00A7lHardcore Run\n\u00A77One life. \u00A7fDay 14.
Avoid the scrambled code §k on the whole line, it just looks broken.
Hex colors and gradients
The built-in codes only give you the 16 colors above. For any color or a smooth gradient, install MiniMOTD on a Paper, Spigot or Purpur server. It uses easy tags in its config:
<gradient:#5cbf3a:#39d8e6>Friends SMP</gradient>
It can also rotate between several MOTDs and show the online player count. See how to add plugins if you're new to plugins.
Bedrock players
Bedrock players joining through Geyser see a Bedrock MOTD set in Geyser's own config.yml, under bedrock then motd1 and motd2. More in setting up Geyser crossplay.
Finish the look with an icon
A colorful MOTD next to the default gray square looks unfinished. Add a 64x64 server icon too: how to change your server icon.
Related
- server.properties explained
- Change a Bedrock server's name
- Minecraft server not showing in the server list
FAQ
My MOTD shows a weird  symbol. How do I fix it?
The section sign got saved with the wrong encoding. Replace each § with \u00A7 in server.properties, then restart.
How long can a MOTD be?
Two lines. Each line fits roughly 45 to 60 characters before it gets cut off in the server list, depending on the letters.
Do colors show for Bedrock players?
Bedrock players joining through Geyser see a separate Bedrock MOTD that Geyser sets, configured in Geyser's config.yml.
Want a server that just runs fast?
FreaksMC runs on NVMe hardware with performance-tuned defaults baked in - pre-optimized Paper, sane view distances, and one-click world pre-generation. Set up in 60 seconds.
See plans from $3/mo