Advertisement
Guest User

Untitled

a guest
May 26th, 2020
168
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. while true
  3. do
  4.     java -Xms1024M -Xmx1024M -jar -XX:ParallelGCThreads=1 <your spigot server>.jar
  5.     echo "CTRL+C to stop the restarting process"
  6.     echo "Restarting in..."
  7.     for i in 5 4 3 2 1
  8.     do
  9.         echo "$i..."
  10.         sleep 1
  11.     done
  12.     echo "Done!"
  13. done
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement