forked from TheRemote/RaspberryPiMinecraft
-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathstart.sh
More file actions
8 lines (8 loc) · 474 Bytes
/
start.sh
File metadata and controls
8 lines (8 loc) · 474 Bytes
1
2
3
4
5
6
7
8
#!/bin/bash
# James Chambers - V1.0 - March 24th 2018
# Marc Tönsing - V1.2 - September 16th 2019
# Minecraft Server startup script using screen
echo "Starting Minecraft server. To view window type screen -r minecraft."
echo "To minimize the window and let the server run in the background, press Ctrl+A then Ctrl+D"
cd /home/pi/minecraft/
/usr/bin/screen -dmS minecraft /usr/bin/java -jar -Xms2500M -Xmx2500M -Dcom.mojang.eula.agree=true /home/pi/minecraft/paperclip.jar