Auto restart plugin?

Discussion in 'Spigot Plugin Help' started by Simon99, May 20, 2016.

  1. I am looking for a simple and effective auto-restart plugin. Suggestions are appreciated!
     
  2. What is not working..
     
  3. The best thing to do is to make a bash script for linux, where when the server stops, it starts back up automatically, and then to do the auto restart plugin, you just type "stop" into the console

    Code (Text):
    #!/bin/sh
    while true
    do
    java -Xmx16G -Xms16G -jar craftbukkit.jar
    echo "If you want to completely stop the server process now, press Ctrl+C before
    the time is up!"
    echo "Rebooting in:"
    for i in 5 4 3 2 1
    do
    echo "$i..."
    sleep 1
    done
    echo "Rebooting now!"
    done
     
    NOTE: This script, is originally by https://www.spigotmc.org/members/absolution.249/ at this post https://www.spigotmc.org/threads/autorestart-script.468/
     
  4. If you are using Multicraft;

    1 Click on Advanced
    2 Click on Scheduled Tasks
    3 Create a new task and confiqure the task.

    If it won't work send me a message or search for more information on youtube.
     
  5. I strongly recommend using AutoSaveWorld, I've been using it for two years and am yet to run into any issues with it, Additionally it comes with a number of features such as auto saving, world regeneration, etc.
     
  6. Thanks for all the suggestions!