09 Feb 11, 02:33AM
https://github.com/digitalfiz/acRunner
There is a PHP wrapper I've created to run the server. Right now it starts the server and keeps it running and if the server dies for some reason, either someone crashes it or something else goes wrong it attempts to restart it automatically. It will only retry 10 times(this can be modified in the code to less) because I figured after 10 times something bad is wrong and it should just stop. I haven't added any notification of a failure yet thats coming soon.
It also creates tables for it to keep real time stats and provides everything you need for real time stats. Please check it out, test it and try to break it and let me know what you think and any ideas or problems you may have with it.
The real time stats stuff can be commented out if you just want a wrapper to auto restart the server when it dies and thats all.
Future plans are to add the ability to partially control the server from the bed. Like restarting it and stuff. I might be adding a separate set of tools in the web GUI for modifying the black lists and maprot and other stuff.
There is a PHP wrapper I've created to run the server. Right now it starts the server and keeps it running and if the server dies for some reason, either someone crashes it or something else goes wrong it attempts to restart it automatically. It will only retry 10 times(this can be modified in the code to less) because I figured after 10 times something bad is wrong and it should just stop. I haven't added any notification of a failure yet thats coming soon.
It also creates tables for it to keep real time stats and provides everything you need for real time stats. Please check it out, test it and try to break it and let me know what you think and any ideas or problems you may have with it.
The real time stats stuff can be commented out if you just want a wrapper to auto restart the server when it dies and thats all.
Future plans are to add the ability to partially control the server from the bed. Like restarting it and stuff. I might be adding a separate set of tools in the web GUI for modifying the black lists and maprot and other stuff.