Guides / server.properties

Minecraft server MOTD: colours, formatting and two lines

Add colours, bold text and a second line to your Minecraft server's MOTD in server.properties.

Updated

The MOTD is the message shown under your server's name in the multiplayer list. You set it with motd in server.properties.

Colours and formatting

Minecraft uses the section sign § followed by a code:

  • §0 black, §1 dark blue, §2 dark green, §3 dark aqua
  • §4 dark red, §5 purple, §6 gold, §7 grey
  • §8 dark grey, §9 blue, §a green, §b aqua
  • §c red, §d pink, §e yellow, §f white
  • §l bold, §o italic, §n underline, §m strikethrough, §r reset

Example: §a§lMy Server §r§7- Survival SMP

Writing § in the file

server.properties is read in Java's properties format, which can garble the § character. The safe way is to write it as \u00a7:

motd=\u00a7a\u00a7lMy Server \u00a7r\u00a77- Survival SMP

The server.properties generator does this for you: type § normally and the file comes out correctly escaped.

Two lines

Add \n where the second line should start:

motd=\u00a7aMy Server\n\u00a77Survival SMP

Length

Each line fits about 45–60 characters before it's cut off, depending on the letters. Keep it short and put the most important part first.

Work it out for your server

The free server.properties generator gives you the exact settings for your setup.

Open the server.properties generator →