mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-08-29 18:27:33 +00:00
Code refactorization
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
export SERVER="minecraft_server.$VANILLA_VERSION.jar"
|
||||
|
||||
if [ ! -e $SERVER ]; then
|
||||
echo "Downloading $SERVER ..."
|
||||
wget -q https://s3.amazonaws.com/Minecraft.Download/versions/$VANILLA_VERSION/$SERVER
|
||||
fi
|
||||
|
||||
# Continue to Final Setup
|
||||
su-exec minecraft /start-finalSetup01World $@
|
||||
Reference in New Issue
Block a user