diff --git a/minecraft-server/README.md b/minecraft-server/README.md index 44373dc7..7b85abb7 100644 --- a/minecraft-server/README.md +++ b/minecraft-server/README.md @@ -551,6 +551,12 @@ If set to true, players will be set to spectator mode if they die. docker run -d -e HARDCORE=false +### Snooper + +If set to false, the server will not send data to snoop.minecraft.net server. + + docker run -d -e SNOOPER_ENABLED=false + ### Max Build Height The maximum height in which building is allowed. diff --git a/minecraft-server/start-finalSetup04ServerProperties b/minecraft-server/start-finalSetup04ServerProperties index 7cb95002..885081d7 100755 --- a/minecraft-server/start-finalSetup04ServerProperties +++ b/minecraft-server/start-finalSetup04ServerProperties @@ -61,6 +61,7 @@ if [ ! -e $SERVER_PROPERTIES ]; then setServerProp "generate-structures" "$GENERATE_STRUCTURES" setServerProp "view-distance" "$VIEW_DISTANCE" setServerProp "hardcore" "$HARDCORE" + setServerProp "snooper-enabled" "$SNOOPER_ENABLED" setServerProp "max-build-height" "$MAX_BUILD_HEIGHT" setServerProp "force-gamemode" "$FORCE_GAMEMODE" setServerProp "hardmax-tick-timecore" "$MAX_TICK_TIME"