mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-03-11 01:01:24 +00:00
Added support for datapack enable/disable properties for feature flags (#1798)
This commit is contained in:
@@ -108,6 +108,8 @@ function customizeServerProps {
|
||||
setServerProp "simulation-distance" SIMULATION_DISTANCE
|
||||
setServerProp "previews-chat" PREVIEWS_CHAT
|
||||
setServerProp "enforce-secure-profile" ENFORCE_SECURE_PROFILE
|
||||
setServerProp "initial-enabled-packs" INITIAL_ENABLED_PACKS
|
||||
setServerProp "initial-disabled-packs" INITIAL_DISABLED_PACKS
|
||||
if [[ $MOTD ]]; then
|
||||
setServerPropValue "motd" "$(echo "$MOTD" | mc-image-helper asciify)"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user