**AUTO SERVER TURN ON**

Discussion in 'Archived: Plugin Requests' started by zjs001, Oct 10, 2012.

  1. Offline

    zjs001

    I have an idea where if the server was to overload or get a error. The server would shut down and re-launch this would help when you are away from the console and cant relaunch it
     
  2. Offline

    Jade Retired Staff

    This couldn't be a plugin, unless it was just for [SEVERE] errors -- consequences could come along with:
    1. Your players could crash your server/find a faulty command and spam it.
    2. Malicious use as per duping(?) (Probably patched, but characters could two-person crash it; i.e. DROP BLOCK (0.1 seconds later use command and restart server)
    3. Excessive, unbearable restarts
    ______
    A server wrapper like McMyAdmin can keep track of things like this though. (McMyAdmin has an option to restart the server on [SEVERE] errors.
    You could find some server wrappers and utilities in here: http://forums.bukkit.org/forums/bukkit-tools.19/
     
  3. Offline

    Gunnerrrrr

    I have this in my start script and it restarts after it dies:

    Code:
    while true
    do
    echo starting server
    java -Xmx10G -jar craftbukkit.jar
    echo server died.. restarting in 5 secs
    sleep 5
    done
    
     
  4. Offline

    LaxWasHere

  5. Offline

    Jade Retired Staff

    Looks like a batch file... is it?
     
  6. Offline

    Gunnerrrrr

    TBH, i don't know. The file name is startServer.sh if that helps.
    I didn't make the file for the record.
     
  7. Offline

    Jade Retired Staff

    .sh = Shell.
    Shell = Linux... Dang, nice. c:
     
  8. Offline

    LaxWasHere

    10g ram for Linux without GC...
     

Share This Page