mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-11-10 14:24:28 +00:00
Disable whitelist server property when WHITELIST empty and overriding
#806
This commit is contained in:
parent
a2132292ac
commit
d695fc3fbc
1 changed files with 4 additions and 0 deletions
|
@ -31,6 +31,10 @@ function customizeServerProps {
|
|||
log "Creating whitelist"
|
||||
setServerProp "whitelist" "true"
|
||||
setServerProp "white-list" "true"
|
||||
else
|
||||
log "Disabling whitelist"
|
||||
setServerProp "whitelist" "false"
|
||||
setServerProp "white-list" "false"
|
||||
fi
|
||||
|
||||
# If not provided, generate a reasonable default message-of-the-day,
|
||||
|
|
Loading…
Reference in a new issue