CrashRestarter Plugin 1.6.4

Updated: May 28, 2015 | 531 views |

Does your server crash randomly and unexpectedly? Use this plugin to Detect if your server has Crashed!

How it works

It countdowns from 10 Minutes (configurable) and when it reaches 2 minutes (configurable) it broadcasts the message “Server crash detected, please speak to reset timer.”(configurable) and when it reaches 0 it runs the command “Stop” (configurable) . The timer reset’s when either someone talks or a player runs any command. If the server is empty for more then 20 minutes (configurable) it will also restart to make sure the server hasn’t crashed.

Note:

If using tekkit or a modpack with stuff like quarry’s etc, that can break/place blocks, it is recommended to turn

BlockBreak: True
BlockPlace: True

into

BlockBreak: False
BlockPlace: False

As they can run even when the server may of crashed etc.

Commands

/cr : Tells the player how long the server is set to detect crashes.

Note:

You will need to edit your launch.bat to the following:

:start
java -Xmx1024M -Xms1024M -jar craftbukkit.jar
goto start

Where 1024M is the amount of memory you use.

Also what i do on my server is i use SimpleRestart and set the Command to “restart now”, which kicks everyone with a configurable message in the simplerestart config. (I hope the authors of Simplerestart don’t mind me mentioning them, and if they do, i ask them to please contact me regarding this).

Tested on a 1.2.5 (tekkit) server. Am willing to code for updates if need be.

If using tekkit or a modpack with stuff like quarry’s etc, that can break/place blocks, it is recommended to turn