Server Autorestart
1 Attachment(s)
Restarts a server once a day after a given time when it empties.
Cvars: sm_autorestart - Enable the plugin sm_autorestart_time - Time to restart server at. Default is 0500 (5am) |
Re: Server Autorestart
To point out, this does not actually restart the server unless you fall under one of a number of conditions.
On *nix your server is set to a daemon that keeps the task running and if it finds it closed launches it again On Windows, your server is launched via a batch file that keeps the task running and if it finds it closed launches it again On Windows, your server is launched via a server checking utility which keeps it running and if it finds it closed launches it again. If you are on a server provider, any one of these could be the case and this plugin should work fine for you, however, if you do not, and do not have one of the above listed possibilities all this will do is periodically close your server. |
Re: Server Autorestart
_restart is better and safer than quit since it works with the srcds_run start script but still does a complete restart
|
Re: Server Autorestart
If the server is not empty, will it then restart later?
|
Re: Server Autorestart
bug: yes
1.1 now uses _restart instead of quit. |
Re: Server Autorestart
what sfPlayer pointed out only applies to *nix server, windows still needs a batch file, system service, or third party software to auto-reboot.
|
Re: Server Autorestart
Can't you simply use the cron plugin for this?
|
Re: Server Autorestart
Does that check if your server is empty?
|
Re: Server Autorestart
yes. That is why I'm using it over cron.
It will restart as soon as your server is empty, after the scheduled restart time. |
Re: Server Autorestart
Thanks, I was just about to write a plugin like this myself :P
|
All times are GMT -4. The time now is 08:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.