mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-11-04 15:59:27 +00:00
[mc] Add snooper enabled toggle
This commit is contained in:
1 parent
f7d62474e8
commit
bfa198de4e
2 files changed
+7
No files matched your search
@@ -551,6 +551,12 @@ If set to true, players will be set to spectator mode if they die.
|
|||||||
|
|
||||||
docker run -d -e HARDCORE=false
|
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
|
### Max Build Height
|
||||||
|
|
||||||
The maximum height in which building is allowed.
|
The maximum height in which building is allowed.
|
||||||
|
|||||||
@@ -61,6 +61,7 @@ if [ ! -e $SERVER_PROPERTIES ]; then
|
|||||||
setServerProp "generate-structures" "$GENERATE_STRUCTURES"
|
setServerProp "generate-structures" "$GENERATE_STRUCTURES"
|
||||||
setServerProp "view-distance" "$VIEW_DISTANCE"
|
setServerProp "view-distance" "$VIEW_DISTANCE"
|
||||||
setServerProp "hardcore" "$HARDCORE"
|
setServerProp "hardcore" "$HARDCORE"
|
||||||
|
setServerProp "snooper-enabled" "$SNOOPER_ENABLED"
|
||||||
setServerProp "max-build-height" "$MAX_BUILD_HEIGHT"
|
setServerProp "max-build-height" "$MAX_BUILD_HEIGHT"
|
||||||
setServerProp "force-gamemode" "$FORCE_GAMEMODE"
|
setServerProp "force-gamemode" "$FORCE_GAMEMODE"
|
||||||
setServerProp "hardmax-tick-timecore" "$MAX_TICK_TIME"
|
setServerProp "hardmax-tick-timecore" "$MAX_TICK_TIME"
|
||||||
|
|||||||
Reference in new issue
Block a user