CrashRestart documentation page
If your server is managed by Multicraft control panel , restart won't occur.
Note: by default crashrestart is disabled.
Note: When server is restarting the old server instance is not yet closed so you should have maxservermem*2 memory available in the system to restart properly. (You may want to increase your swap size on linux)
CrashRestart will try to restart your server if the main thread will stop responding (crash or freeze)
Config values: (config.yml)
crashrestart: enabled: false #if enabled AutoSaveWorld will try to restart your server if it will crash. startdelay: 20 #delay before starting checker (in seconds) scriptpath: start.sh #path to the startup script for yor server, if AutoSaveWorld won't find it, it will still try to restart your server. timeout: 45 #if main thread of server won't tick for this amount of seconds, AutoSaveWorld will think that the server crashed. juststop: false #If you set this to true AutoSaveWorld will just stop your server on crash(useful for infinite loop startup script)
-
View User Profile
-
Send Message
Posted Jul 19, 2013On scriptpath, the script need to be placed in the plugin folder or same on craftbukkit.jar?
-
View User Profile
-
Send Message
Posted Jul 25, 2013@FabioZumbi12
The same as craftbukkit.jar.
-
View User Profile
-
Send Message
Posted Dec 13, 2013What exactly is a scriptpath? I use BukkitGUI to start my server BTW.
-
View User Profile
-
Send Message
Posted Dec 15, 2013@bvm1228
The scriptpath is the script to start the server
-
View User Profile
-
Send Message
Posted Mar 20, 2014not well...why not make a restart.bat ? bat.... for windows... *.sh can't use...
-
View User Profile
-
Send Message
Posted Apr 11, 2014@chinafriend
point your scriptpath to .bat file, it doesn't matter.
-
View User Profile
-
Send Message
Posted Mar 1, 2020What's doing "checkerstartdelay: 20" option in newer versions (i'm gessing it's newer)?