diff --git a/minecraft-server/start-minecraft.sh b/minecraft-server/start-minecraft.sh index 13e451a2..afd0d0f1 100755 --- a/minecraft-server/start-minecraft.sh +++ b/minecraft-server/start-minecraft.sh @@ -316,6 +316,7 @@ if [ ! -e server.properties ]; then setServerProp "level-seed" "$SEED" setServerProp "pvp" "$PVP" setServerProp "generator-settings" "$GENERATOR_SETTINGS" + setServerProp "online-mode" "$ONLINE_MODE" if [ -n "$LEVEL_TYPE" ]; then # normalize to uppercase