Add --saveworld option to stop and restart

This commit is contained in:
Ben Peddell 2015-12-12 06:31:20 +10:00
parent dd41a24a3c
commit 448945ac05

View File

@ -685,6 +685,9 @@ doStop() {
if [ " $* " =~ " --warn " ]; then
doWarn "$1"
fi
if [ " $* " =~ " --saveworld " ]; then
doSaveWorld
fi
tput sc
echo "Stopping server..."
echo "`timestamp`: stopping" >> "$logdir/$arkmanagerLog"