Jump to content
stephen321

Private server game messages

Recommended Posts

question do you need to set timed restart from nitrado or the message.xml will execute on countdown

  • Like 1

Share this post


Link to post
Share on other sites

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<messages>

 

See https://community.bistudio.com/wiki/DayZ:Server_Messages for more information

Example messages:

    

1) following message will be displayed to every player in countdown manner

    and shuts down server in 6 hours from its start

 

    <message>

        <deadline>360</deadline>

        <shutdown>1</shutdown>

        <text>This server DOPE will Restart every 6 hours.</text>

    </message>

 

1a)

    <message>

        <deadline>345</deadline>

        <text>This server will restart in 15 minutes</text>                             

    </message>

    <message>

        <deadline>350</deadline>

        <text>This server will restart in 10 minutes</text>                                   

    </message>

    <message>

        <deadline>355</deadline>

        <text>This server will restart in 5 minutes</text>                                   

    </message>

 

 

2) following message will be displayed every 15 minutes to every player

 

    <message>

        <repeat>15</repeat>

        <text>Welcome to DOPE for feedback and complaint post at our facebook group. </text>

    </message>

 

 

3) following message will be displayed every 50 minutes to every player

and 10 minutes after player connect

    <message>

        <delay>10</delay>

        <repeat>50</repeat>

        <onconnect>1</onconnect>

        <text>Welcome to DOPE Please do not KOS Fresh Spawn</text>

    </message>

 

 

4) following message will be displayed once

and 2 minutes after player connect

    

    <message>

        <delay>2</delay>

        <onconnect>1</onconnect>

        <text>Welcome to DOPE Please do not KOS Fresh Spawn</text>

    </message>

</messages>

  • Like 1

Share this post


Link to post
Share on other sites

my server restarts every 6 hours fine 🙂 now messages work its alright as ppl now know 

Share this post


Link to post
Share on other sites
3 minutes ago, Markyd said:

my server restarts every 6 hours fine 🙂 now messages work its alright as ppl now know 

with the code I provided?

Share this post


Link to post
Share on other sites

I have managed to get server messages working but has anyone managed to get the server shutdown timer working? I have been trying to get it to restart every 4hrs and display the countdown timer but every time I try it disables all server messages.

Share this post


Link to post
Share on other sites

×