diff --git a/README.md b/README.md index 59609609..b17fcece 100644 --- a/README.md +++ b/README.md @@ -203,13 +203,13 @@ Enable the Autopause functionality by setting: ``` There are 4 more environment variables that define the behaviour: -* `AUTOPAUSE_TIMEOUT_EST`, default `3600` (seconds) +* `AUTOPAUSE_TIMEOUT_EST`, default `3600` (seconds) describes the time between the last client disconnect and the pausing of the process (read as timeout established) -* `AUTOPAUSE_TIMEOUT_INIT`, default `600` (seconds) +* `AUTOPAUSE_TIMEOUT_INIT`, default `600` (seconds) describes the time between server start and the pausing of the process, when no client connects inbetween (read as timeout initialized) -* `AUTOPAUSE_TIMEOUT_KN`, default `120` (seconds) +* `AUTOPAUSE_TIMEOUT_KN`, default `120` (seconds) describes the time between knocking of the port (e.g. by the main menu ping) and the pausing of the process, when no client connects inbetween (read as timeout knocked) -* `AUTOPAUSE_PERIOD`, default `10` (seconds) +* `AUTOPAUSE_PERIOD`, default `10` (seconds) describes period of the daemonized state machine, that handles the pausing of the process (resuming is done independently) ## Deployment Templates and Examples @@ -1056,9 +1056,21 @@ Allows users to use flight on your server while in Survival mode, if they have a ### Other server property mappings -Environment Variable | Server Property ----------------------|----------------- -PLAYER_IDLE_TIMEOUT | player-idle-timeout +| Environment Variable | Server Property | +| --------------------------------- | --------------------------------- | +| PLAYER_IDLE_TIMEOUT | player-idle-timeout | +| BROADCAST_CONSOLE_TO_OPS | broadcast-console-to-ops | +| BROADCAST_RCON_TO_OPS | broadcast-rcon-to-ops | +| ENABLE_JMX | enable-jmx-monitoring | +| SYNC_CHUNK_WRITES | sync-chunk-writes | +| ENABLE_STATUS | enable-status | +| ENTITY_BROADCAST_RANGE_PERCENTAGE | entity-broadcast-range-percentage | +| FUNCTION_PERMISSION_LEVEL | function-permission-level | +| NETWORK_COMPRESSION_THRESHOLD | network-compression-threshold | +| OP_PERMISSION_LEVEL | op-permission-level | +| PREVENT_PROXY_CONNECTIONS | prevent-proxy-connections | +| USE_NATIVE_TRANSPORT | use-native-transport | +| ENFORCE_WHITELIST | enforce-whitelist | ## Miscellaneous Options diff --git a/server.properties b/server.properties index 340ba9df..eb8ee229 100644 --- a/server.properties +++ b/server.properties @@ -37,3 +37,15 @@ motd=A Minecraft Server powered by Docker generator-settings= rcon.password= max-world-size=29999984 +broadcast-console-to-ops=true +broadcast-rcon-to-ops=true +enable-jmx-monitoring=false +sync-chunk-writes=true +enable-status=true +entity-broadcast-range-percentage=100 +function-permission-level=2 +network-compression-threshold=256 +op-permission-level=4 +prevent-proxy-connections=false +use-native-transport=true +enforce-whitelist=false diff --git a/start-finalSetup04ServerProperties b/start-finalSetup04ServerProperties index e77ea8a1..9f2bad70 100644 --- a/start-finalSetup04ServerProperties +++ b/start-finalSetup04ServerProperties @@ -77,6 +77,18 @@ function customizeServerProps { setServerProp "resource-pack" "$RESOURCE_PACK" setServerProp "resource-pack-sha1" "$RESOURCE_PACK_SHA1" setServerProp "player-idle-timeout" "$PLAYER_IDLE_TIMEOUT" + setServerProp "broadcast-console-to-ops" "$BROADCAST_CONSOLE_TO_OPS" + setServerProp "broadcast-rcon-to-ops" "$BROADCAST_RCON_TO_OPS" + setServerProp "enable-jmx-monitoring" "$ENABLE_JMX" + setServerProp "sync-chunk-writes" "$SYNC_CHUNK_WRITES" + setServerProp "enable-status" "$ENABLE_STATUS" + setServerProp "entity-broadcast-range-percentage" "$ENTITY_BROADCAST_RANGE_PERCENTAGE" + setServerProp "function-permission-level" "$FUNCTION_PERMISSION_LEVEL" + setServerProp "network-compression-threshold" "$NETWORK_COMPRESSION_THRESHOLD" + setServerProp "op-permission-level" "$OP_PERMISSION_LEVEL" + setServerProp "prevent-proxy-connections" "$PREVENT_PROXY_CONNECTIONS" + setServerProp "use-native-transport" "$USE_NATIVE_TRANSPORT" + setServerProp "enforce-whitelist" "$ENFORCE_WHITELIST" if [ -n "$DIFFICULTY" ]; then case $DIFFICULTY in