The reason for making this script is because if someone crashes your server, as I am sure you have found this out, it goes into what I call a "crash-loop". Where it will try to restart, but after restarting it will only crash again by itself.

I figured out a way around this.

By using this script, it will start the server, and if someone crashes the server by accident, it will kill the process and allow a fresh start of the server, essentially wiping the slate clean of the crash. And avoiding the "crash-loop" problem.
 

Attachments

  • server.zip
    258 bytes · Views: 9
Back