[mc] Add snooper enabled toggle

This commit is contained in:
Attila Gonda 2018-05-20 01:07:16 +02:00
parent f7d62474e8
commit bfa198de4e
2 changed files with 7 additions and 0 deletions

View File

@ -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 true, server will send snoop data to the minecraft sever.
docker run -d -e SNOOPER_ENABLED=false
### Max Build Height
The maximum height in which building is allowed.

View File

@ -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"