mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-02-22 00:56:24 +00:00
Merge pull request #216 from pcdevil/feat/add_snooper_argument
[mc] Add snooper enabled toggle
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user