Okay, i have a plugin that when the server is enabled it wait 12 hours and then execute the command /stop as console, but i need to start the server again, i don't know where to put this so i put this in the plugins forum.
My startup script:
I tried by adding "source run.sh" because the name of the script is run.sh but it doesn't work. i have CentOS 7 x86, thanks in advanced!
My startup script:
Code:
BINDIR=$(dirname "$(readlink -fn "$0")")
cd "$BINDIR"
screen -S HCF java -Xmx20G -Xmx20G -jar PaperSpigot.jar
