CrashPrevention
CrashPrevention | Prevent out of memory errors!
This is a simple plugin designed to help prevent your server crashing with out of memory errors. Every 10 seconds the server will check how much free RAM the JVM has left. If it's below an amount defined in the config, the server will automatically restart.
Configuration:
minimum_ram: 256 # Restart the server if below this amount of free RAM.
tries: 2 # Number of times to check free RAM before restarting. If under the minimum_ram two times, restart.
But, how can this actually restart it?
You need need to use one of these startup scripts: Linux | Windows
But, I use a control panel and can't change the start up script!
Even easier then! Most control panels (MutliCraft and TCAdmin anyway..) will automatically restart the server if it's stopped from outside their control panel. So you should be fine.
-
View User Profile
-
Send Message
Posted Jan 11, 2014Can you update the plugin to 1.7.2 if it don't work with 1.7.2? :D
-
View User Profile
-
Send Message
Posted Aug 3, 2013How do I install the script on linux where do I put it?
-
View User Profile
-
Send Message
Posted Jul 30, 20131.2.5 compatible?
-
View User Profile
-
Send Message
Posted Jul 30, 2013@angrybatman000
You know your just spamming... It's not going to work. xD I could make that website.
-
View User Profile
-
Send Message
Posted Jul 30, 2013@Darthmineboy
Not if you use a vps... XD
-
View User Profile
-
Send Message
Posted Jul 30, 2013@RubenRME
No because hosts have predefined start up scripts.
-
View User Profile
-
Send Message
Posted Jul 30, 2013Save-all insted of a restart, that would be sencefull.
-
View User Profile
-
Send Message
Posted Jun 12, 2013Just a little question, does this work on FTP? When you have an host.
-
View User Profile
-
Send Message
Posted May 12, 2013@AaronL98
It should work with the latest CraftBukkit builds.
-
View User Profile
-
Send Message
Posted May 6, 20131.5.2R1.0 Update? this plugin looks awesome and seems like i wont be needing a scheduled restart to clear up lag! Thanks!
-
View User Profile
-
Send Message
Posted Apr 20, 2013Could you add an auto-save featuer? As in instead of restart , save then restart.
-
View User Profile
-
Send Message
Posted Apr 14, 2013@zachoz to start my server I just type in the command in the vps. I log into my vps do screen -r then i type in the command that starts the server... So I don't know where the "shell file" is?
-
View User Profile
-
Send Message
Posted Apr 10, 2013This is exactly what I need! Thank you for making this!
-
View User Profile
-
Send Message
Posted Apr 8, 2013@decalo
In your shell file that starts the server.
-
View User Profile
-
Send Message
Posted Apr 8, 2013Little help please? I'm kind of a noob, just saying. Anyways, I run a server on a lunix vps, I have craftbukkit (obviously) where do I put that code in? I put the plugin in the plugins folder, but it only stops the server. Where do I put the code to make the server turn back on? Into CraftBukkit? If so where? ect. Thanks:p
-
View User Profile
-
Send Message
Posted Apr 6, 2013@thudog77
Yep. :D
-
View User Profile
-
Send Message
Posted Apr 6, 2013I use a Multicraft control panel, so all i have to do to install this correctly is drop this into the plugins folder?
-
View User Profile
-
Send Message
Posted Apr 4, 2013@Ajaxan
Possibly. I'll need to find a good way of doing it.
-
View User Profile
-
Send Message
Posted Mar 31, 2013I have been looking at different server restart plugins and I love the simplicity this one offers. Also the included scripts make my life much easier. Just out of curiosity, are you planning to expand the plugin to deal with more types of crashes?
-
View User Profile
-
Send Message
Posted Mar 23, 2013@RepDude
Haven't really had time to do much on this project recently. Just busy with my own server and real life things. :P I've got some planned features though. ;)