Hi, Due to the Code: java.lang.ArrayIndexOutOfBoundsException: -1 crashing, I need a script. I need a script that will search the server log file and execute a server restart upon finding that. I can have it run through 5 minute searches. I heard about some people have this, anyone have it that they are able to share? If so just PM me or post it on this thread. Thanks in advance, Nate
I'd rather use a script to run the server in a loop, like Code: #!/bin/sh while true do java -jar craftbukkit.jar sleep 5 done and run in in a screen, when the screen ends or is killed the loop of course dies with it, otherwise it restarts. The sleep is there for safety reasons when the server crashes immediately.
Thanks, I will give this a try soon. Just getting these crashes way to often and my players lose their progress. I don't want to do more than 10 minute world backups.