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  
Bondue (DayZ)

Autmated restart warnings

Recommended Posts

I dont want to use BEC because for what ever reason the database connection messes up when i use a scheduler to restart the server.

I am currently using TCA to run restarts since it completely shuts down the server and starts it again.

My question is can i add multiple timeouts for MOTD messages to be delayed for 5 hours and 50 minutes again for 5 hours and 55 minutes and once more for 5 hours and 59 minutes

to warn for restart since each restart is 6 hours apart? If so can someone give me an example of how to do this.

Share this post


Link to post
Share on other sites

My MOTD looks like this:

motd[] = {

"Hacking is not be permitted.",

"All hacking/scripting will result is a GUID and IP ban",

"Hackers/Scripters will be submitted for global ban.",

"Join the forums dayzthelounge.freeforums.org",

};

motdInterval = 5;

So under it could i just repeat this again under the current only to look like

motd[] = {

"Server restarting in 10 minutes",

};

motdInterval = 21000;

for the 10 minutes warning and like wise for the other warnings or would it conflict with the other MOTD sequence

Share this post


Link to post
Share on other sites

I have a simular setup using TCA, I want the server to completely shutdown, and restart every six hours. (00:00, 06:00, 12:00, and 18:00) but I can't seem to get a BEC schedule or MOTD to work with it to give 30, 10, 5, and 1 minute warnings to my players. Any help would be greatly appricated.

Edited by NighthawkXL

Share this post


Link to post
Share on other sites

If there is no reply I will test my theories tomorrow and report back but if anyone knows how to do this please let me know. I know it can be done I've seen what appears to be the same idea on another server, just have to figure it out....

Share this post


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

×