DayZ | How to setup Server Messages Print

  • DayZ How to setup Server Messages, dayz, DayZ, Dayz, How to setup Server Messages, DayZ Server Messages, Setup Server Messages, DayZ Setup Server Messages, Server Messages
  • 4

This guide shows you how to set up server messages on your DayZ server hosted with us.

  1. Stop your server.
  2. Make sure your server is running the mission you desire (as server messages are mission specific) in your ServerDZ.cfg file and it's been saved with the configuration editor.
  3. Select "Configuration Files"
  4. Select "Text-Editor" next to messages.xml

  5. This is where it gets a little complicated, there are several flags that can be applied to each message, which you must set correctly per your desired intention for the message. There are also several properties which must be understood. Once the flags and properties have been explained, this will become simpler to follow:


    On connect

    • Indicates that the server message will be sent once after a player connects to the server.


    • Indicates that the server message will be sending to all players repeatedly.


    • Indicates that the server message will be sent to all players in a countdown manner.
    • The message will be sent 90 minutes before the deadline is met, then 60 minutes, 45, 30, 20, 15, 10, 5, 2 and finally 1 minute before the deadline is met.


    • Indicates that the server will shut down after the countdown reaches zero.
    • If the Countdown flag is not set, this flag is ignored.


    The maximum length of the message is 160 characters. The user can place 3 different placeholders into the message's text:

    • #name is replaced with the server's name
    • #port is replaced with server's port
    • #tmin is replaced with the number of minutes remaining in the countdown.
      • Only working when used with a Countdown flag.

    Every property related to time in the server message is in minutes.


    • Applied when the server message has On connect flag set.
    • This value indicates how many minutes it will take before the message is sent to player.
    • A value of zero means that the message will be sent immediately after the player connects to server.


    • Applied when the server message has the Repeat flag set.
    • This value controls the frequency of the message repetition.


    • Applied when the server message has the Countdown flag set.
    • Indicates how long it takes the countdown before it reaches zero.
  6. Now you must create your server messages, each message must go inside the message tags as follows:

    If you wanted several messages, you would have the following:
  7. Message content would be the following:
    <!-- no delay -->
    <!-- if the value is larger than 0, then flag Repeat is enabled -->
    <!-- if the value is larger than 0, then flag Countdown is enabled,countdown reaches zero in 10 hours -->
    <!-- disable On connect flag -->
    <!-- enable Shutdown flag -->
    <!-- message itself with placeholders -->
    <text>Hello, #name will shutdown in #tmin minutes.</text>
  8. Here is an example with three server messages, the first runs immediately when a player connects, the second runs every hour requesting the player join the server's discord and the third runs in a countdown manner and will restart the server 6 hours after it's been started:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <text>Welcome to a server hosted by</text>
    <text>Please join our discord at</text>
    <text>#name will shutdown in #tmin minutes.</text>

  9. Make sure to save the file in the top left!!

  10. Startup your server. Any problems, let us know via support ticket, and we'll assist you.

Looking for a game server host known for brilliant 24/7 customer support and quality hardware?
Try a Pingperfect DayZ Standalone server today!

Was this answer helpful?

« Back