NEW 📢 Limited launch offer: up to 70% off your first month on every game!See plans

How to set a welcome message and rules on your DDNet server

DDNet (DDraceNetwork)Updated Oct 23, 20263 min read

Add sv_welcome, sv_motd and sv_rules_line1 lines to myServerconfig.cfg under Files, save, and restart the server. A new server shows DDNet's own texts, including a message of the day that starts with "Testserver with DDraceNetwork Features!", so most owners change it.

Change the texts

  1. Open your server in the panel and click the Files tab.
  2. Open myServerconfig.cfg, in the main folder.
  3. Add the lines you want, one per line, for example:
sv_welcome "Welcome! Have fun and be nice."
sv_motd "Friday races at 20:00.\nType /rules for the rules."
sv_rules_line1 "No blocking other players."
sv_rules_line2 "No spam in chat."
  1. Save the file and restart the server.
LineWhere players see it
sv_welcomeA chat line when they join.
sv_motdThe message of the day window when they join. \n starts a new line.
sv_rules_line1 to sv_rules_line10Under /rules in the chat, one line each.
sv_ddrace_rules 0Hides DDNet's default rules from /rules, so only yours show.

Put the text in double quotes. Do not use a double quote inside the text.

Repeating announcements

DDNet can post a line from a file in the chat every so often.

  1. Under Files, in the main folder, create a file named myannouncements.txt and write one announcement per line.
  2. In myServerconfig.cfg, add:
sv_announcement_filename "myannouncements.txt"
sv_announcement_interval 30

sv_announcement_interval is in minutes. DDNet picks the lines at random; sv_announcement_random 0 shows them in order.

  1. Save and restart the server.

Use your own file name rather than the announcement.txt in data: files that come with DDNet are replaced when DDNet updates.

Why myServerconfig.cfg

The server runs myServerconfig.cfg last at every start, and an update or a reinstall never changes it. The game's own start file, data/autoexec_server.cfg, also has these lines, but keep your changes in myServerconfig.cfg. See How to add your own settings to your DDNet server.

To send a message right now instead: How to send a message to players on your DDNet server.

Already hosting it somewhere else? Move your server to us

CREATE YOUR GAME SERVER
READY TO GET STARTED?

Save up to 30% on your new game server.
Premium performance, instant activation, and unbeatable reliability all at a better price.

OUR LATEST BLOGS