Files
docker-minecraft-server/minecraft-server/start-deployVanilla.sh
Aitor Ramos Sasselli a0e605814f Code refactorization
2017-10-28 10:04:52 +02:00

12 lines
291 B
Bash
Executable File

#!/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 $@