Blxckforge
DayZ server guides

How to set up restart countdowns and server messages in DayZ

messages.xml controls what players see in chat: a welcome when they join, reminders about your rules and Discord, and the countdown before a restart. Its shutdown setting is also how many Nitrado servers restart every few hours.

1. Find messages.xml

It's in your mission's db folder, next to types.xml: mpmissions, then your map's mission folder, then db. Download a copy before you change it.

2. Know the kinds of message

Each message in the file is one of these:

  • On join: shown to each player a set number of minutes after they connect, ideal for a welcome and rules
  • Repeating: shown to everyone on a timer, such as every 60 minutes, ideal for your Discord link
  • Once: shown a single time, a set number of minutes after the server starts
  • Countdown: counts down to a deadline, and #tmin in the text is replaced with the minutes left

3. Set up the restart

Add a countdown message with a deadline in minutes, such as 240 for four hours, and switch shutdown on. When the deadline arrives the server stops, and Nitrado starts it again. Players see something like "Server restarts in #tmin minutes" as it approaches.

You only need one countdown with shutdown on. The earliest deadline is the one that restarts the server, so a second one is easy to set by mistake.

4. Save and restart

Upload the file to the same db folder and restart. DayZ reads messages.xml when it starts, so the new schedule begins after that restart.

The free Server Messages editor shows each message as a card, previews it in game chat, draws the schedule across a restart cycle and catches mistakes like a shutdown with no deadline. On the Server and Pro plans it saves straight to Nitrado with a backup.

Common questions

How do I make my DayZ server restart every 4 hours?

Add a countdown message in messages.xml with a deadline of 240 minutes and shutdown switched on. When it reaches zero the server stops and Nitrado restarts it.

What does #tmin do?

In a countdown message, #tmin is replaced in game with the number of minutes left, for example "Restart in #tmin minutes".

Why don't my messages show?

DayZ reads the file when the server starts, so restart after uploading. Also check every message has text and the file passes an XML check.

How often should reminders repeat?

Spread them out, for example 60, 90 and 150 minutes, so players aren't flooded with several at once. Keep each one short so it isn't cut off in the chat box.