Script I made for dedicated server owners

This is a script that I made for dedicated server owners. I store this inside the game folder and then it gets called by a windows task every 5 minutes. It will check that the server is running. If it has crashed then it will update and start the server again. If it is running then it will check for an update using steamcmd. If there is then it will kill the server and update then start it again. You may need to edit the paths and start command to work for your setup.

EDIT: Cleaned up the script some.

 

Leave a Reply

Your email address will not be published. Required fields are marked *