Welcome to The Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies and more


Server restart Timers


Recommended Posts

Hi there! long time user and supporter of Survival servers and i just had a few questions as i recently started a medium sized Community RP server... 

 

I want to set up the server so that everytime it needs to restart that it give everyone a 15 minute warning via the Broadcast command. then again at 10 and 5 then 3,2,1. 

 

In all of my research and googling i have only seen a way to do it if the server was hosted by HostHavoc nothing for Survival Servers.

 

I just want to make sure that any story telling or Roleplay is not interrupted by a sporadic restart without warning. Now is there also a way to have the server automatically detect an update, either Base game or mod, and do the 15 minute warning to restart and update automatically? 

Share this post


Link to post
Share on other sites

I will give this a try. But if anyone knows of a another way. i will check every method i can.

 

Edit: For everyone else who may be looking for this or needing help. The .Bat i made looks like this 

 

set host=*IP*
set port=*Port*
set passwd=*password*
@mcrcon -s -H %host% -P %port% -p %passwd% "broadcast Server will Restart in 5 Minutes"
timeout /t 60 /nobreak
@mcrcon -s -H %host% -P %port% -p %passwd% "broadcast Server will Restart in 4 Minutes"
timeout /t 60 /nobreak
@mcrcon -s -H %host% -P %port% -p %passwd% "broadcast Server will Restart in 3 Minutes"
timeout /t 60 /nobreak
@mcrcon -s -H %host% -P %port% -p %passwd% "broadcast Server will Restart in 2 Minutes"
timeout /t 60 /nobreak
@mcrcon -s -H %host% -P %port% -p %passwd% "broadcast Server will Restart in 1 Minute"
timeout /t 30 /nobreak
@mcrcon -s -H %host% -P %port% -p %passwd% "broadcast Server will Restart in 30 Seconds"
timeout /t 10 /nobreak
@mcrcon -s -H %host% -P %port% -p %passwd% "broadcast Server will Restart in 20 Seconds"
timeout /t 10 /nobreak
@mcrcon -s -H %host% -P %port% -p %passwd% "broadcast Server will Restart in 10 Seconds"
timeout /t 10 /nobreak
@mcrcon -s -H %host% -P %port% -p %passwd% "broadcast Restarting Now !"
timeout /t 2 /nobreak
@mcrcon -s -H %host% -P %port% -p %$passwd% "doexit"

 

 

Share this post


Link to post
Share on other sites

You cannot make or run any .bat files from our hosting, that's not how things work.

 

Regarding restart warning messages:

 

2016-11-03_20h14_39.png

 

Warning messages are enabled by default. If they are not working, shoot us a support ticket and we'll check why!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...