Skip to content

Instantly share code, notes, and snippets.

@lemire
Last active December 5, 2020 12:50
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save lemire/49144ae19ba6d2a3525ec3b05cab1bf7 to your computer and use it in GitHub Desktop.
# Important: change spigot-1.16.1.jar to match the name of your jar file!
if ! screen -list | grep -q "minecraft"; then
cd /home/pi/minecraft
screen -S minecraft -d -m java -jar -Xms512M -Xmx1008M spigot-1.16.1.jar nogui
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment