mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-13 13:52:27 +00:00
[mc] Add snooper enabled toggle
This commit is contained in:
parent
f7d62474e8
commit
bfa198de4e
2 changed files with 7 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue