# 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