mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-04-08 06:38:53 +00:00
Allow to enable the whitelist without modifying the whitelist file (#937)
This commit is contained in:
@@ -27,7 +27,7 @@ function setServerProp {
|
||||
}
|
||||
|
||||
function customizeServerProps {
|
||||
if [ -n "$WHITELIST" ]; then
|
||||
if [ -n "$WHITELIST" ] || isTrue ${ENABLE_WHITELIST:-false}; then
|
||||
log "Creating whitelist"
|
||||
setServerProp "whitelist" "true"
|
||||
setServerProp "white-list" "true"
|
||||
|
||||
Reference in New Issue
Block a user