mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-04-22 05:19:26 +00:00
Added env var mapping for player-idle-timeout
This commit is contained in:
@@ -987,6 +987,12 @@ Allows users to use flight on your server while in Survival mode, if they have a
|
||||
|
||||
-e ALLOW_FLIGHT=TRUE|FALSE
|
||||
|
||||
### Other server property mappings:
|
||||
|
||||
Environment Variable | Server Property
|
||||
---------------------|-----------------
|
||||
PLAYER_IDLE_TIMEOUT | player-idle-timeout
|
||||
|
||||
## Miscellaneous Options
|
||||
|
||||
### Running as alternate user/group ID
|
||||
|
||||
@@ -76,6 +76,7 @@ function customizeServerProps {
|
||||
setServerProp "level-type" "${LEVEL_TYPE^^}"
|
||||
setServerProp "resource-pack" "$RESOURCE_PACK"
|
||||
setServerProp "resource-pack-sha1" "$RESOURCE_PACK_SHA1"
|
||||
setServerProp "player-idle-timeout" "$PLAYER_IDLE_TIMEOUT"
|
||||
|
||||
if [ -n "$DIFFICULTY" ]; then
|
||||
case $DIFFICULTY in
|
||||
|
||||
Reference in New Issue
Block a user