|
|
#1 | |
|
Big Clucker
![]() ![]() Join Date: Feb 2012
Location: Russia, Ekaterinburg
Posts: 59
Reputation: 23
|
![]() Description: This script will restart your server at the specified time. Functionality:
How to use the script: Admin command "/reload_r" will reset the database script. This can be used, for example, if you change the database. The script is managed through a database - file AutoRestarter.ini Database key countdown is responsible for the time frame to restart in seconds. Database key countdown_message is responsible for the message, which will go into the chat to all players, when to restart the server will be X seconds (X - the value of countdown). Database key restart_message is responsible for the message, which will go into the chat to all players when restarting. Database key system_state is the key security, which prevents re-restart the coincidence of time. Database key restart_time_X contains a number of times restarting X, has the format "Hour: Minute" , X - ID: 0 ... limit. Example database: ![]() Quote:
Credits: MX_MASTER - mxINI Download: DropBox Pastebin Last edited by BRICS; 07/05/2013 at 11:08 AM. |
|
|
|
|
|
|
#2 |
|
Little Clucker
![]() Join Date: Dec 2011
Location: Isreal.
Posts: 35
Reputation: 0
|
Nice Script.
|
|
|
|
|
|
#3 |
|
Banned
![]() Join Date: Apr 2012
Location: Swift GangstaR Town
Posts: 260
Reputation: 13
|
Nice Work
good for starters
|
|
|
|
|
|
#4 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Jul 2010
Posts: 344
Reputation: 13
|
I can put as many restart moments as I want? I don't get how the config file works...
and my second question: does this restart the entire server, or only the gm and fs? |
|
|
|
|
|
#5 |
|
Big Clucker
![]() ![]() Join Date: Feb 2012
Location: Russia, Ekaterinburg
Posts: 59
Reputation: 23
|
The script sends the command "gmx" to the server. Restart will always run at a specified time (restart_time_X).
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Include] AutoRestarter | nepstep | Includes | 24 | 13/03/2011 02:10 AM |