Skip to content

Instantly share code, notes, and snippets.

@lemire

lemire/minecraft.sh

Last active Dec 5, 2020
Embed
What would you like to do?
# 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