Wiki
Clone wikiBukkitGames / Restarting your server
Intro
As you know, BukkitGames shuts down your server. With the following scripts you can make your server perform a restart.
Heads up!
If you use Spigot, you can also try to add the Spigot restart command to the pre-shutdown-commands
in the BukkitGames config file. That should normally restart the server...
Windows
The line java -jar spigot.jar
makes your server start, read about that here and here.
@echo off :START @echo on java -jar spigot.jar @echo off echo . echo RESTARTING SERVER echo . GOTO START
Mac
The line java -jar spigot.jar
makes your server start, read about that here and here.
#!/bin/bash while true; do java -jar spigot.jar sleep 2 done
Updated