Server restart without console

Discussion in 'Bukkit Help' started by XIIIthDevil, Nov 1, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    XIIIthDevil

    Is there a plugin that enables server restarting without going to the console and does not conflict with console (i,e: sidekick)?

    bump

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 21, 2016
  2. Offline

    Kierrow

    dont think plugins can do that, but i can check...
    if they can, ill make you one real quick

    one q,
    what would you need a restart for?
    i mean, IN GAME?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 21, 2016
  3. Offline

    ks07

    The easiest way, that most people use, is to run your server in a loop. This requires editing the startup script for your server.

    I don't know what Operating System you're using, but for linux:
    Code:
    #!/bin/bash
    cd /path/to/bukkit/folder/
    while true; do
      java -jar craftbukkit.jar
      echo "Minecraft server is restarting! Ctrl-c to stop."
      sleep 15
    done
    Of course, you would modify this to match your current startup script. Now, next time the server shuts down (e.g. by /stop), it will wait 15 seconds then start itself back up again.
     
  4. Offline

    XIIIthDevil

    Thanks!
     
Thread Status:
Not open for further replies.

Share This Page