If you are on a MAC and automatically want to restart your bungeecord server or spigot set your startup script as this
WARNING! THIS IS NOT AN IN GAME PLUGIN!
NOTE: TYPE /STOP TO RESTART YOUR SERVER AND IF YOU WANT IT FULL CLOSED PRESS CTL+C
Script:
#!/bin/sh
while true
do
cd "$( dirname "$0" )"
java -Xmx10G -Xms10G -jar spigot.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..."...
MAC Restart Script For Your Server
WARNING! THIS IS NOT AN IN GAME PLUGIN!
NOTE: TYPE /STOP TO RESTART YOUR SERVER AND IF YOU WANT IT FULL CLOSED PRESS CTL+C
Script:
Code (text):
#!/bin/sh
while true
do
cd "$( dirname "$0" )"
java -Xmx10G -Xms10G -jar spigot.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..."...