Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- while true
- do
- java -Xms1024M -Xmx1024M -jar -XX:ParallelGCThreads=1 <your spigot server>.jar
- echo "CTRL+C to stop the restarting process"
- echo "Restarting in..."
- for i in 5 4 3 2 1
- do
- echo "$i..."
- sleep 1
- done
- echo "Done!"
- done
Advertisement
Add Comment
Please, Sign In to add comment