Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

Sign in to follow this  
Foofah

Help needed with server messages.xml

Recommended Posts

Hi all,

 

I have troubles understanding the messages.xml in order to display a message 15,10 and 5 minutes prior to restart.

First of all, help me understand when the messages.xml starts to work, is it when the server starts, or when the player joins?

For example, I start the server at 13:00. A player joins at 13:10. The first message in the messages.xml is set as follows: 

<message>
  <delay>10</delay>
  <repeat>60</repeat>
  <onconnect>1</onconnect>
  <text>Hello world!</text>
</message>

Will the player see this after 10 minutes he logs in (onconnect = 1)? Or instantly because the server waited 10 minutes to display it?

 

If I want it to display a message after 45 minutes, and shutdown in 60.

	<message>
		<delay>0</delay>
		<repeat>0</repeat>
		<deadline>60</deadline>
		<onConnect>0</onConnect>
		<shutdown>1</shutdown>
		<text>World will shutdown in #tmin minutes.</text>
	</message>

Where does it say it will display itself after 45 minutes? The only timer is set to 60.

Edited by Foofah

Share this post


Link to post
Share on other sites

The player will see the message 10 minutes after logging into the server. "<delay>10</delay>"

As for the second question, you will need to specify that you want the message to be displayed after 45 mins in "<delay>0</delay>".

Share this post


Link to post
Share on other sites
Sign in to follow this  

×