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.