mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-05-19 18:35:23 +00:00
Support Purpur and Pufferfish config repos & optimize server.properties handling (#3914)
This commit is contained in:
committed by
GitHub
parent
fbbe29507e
commit
6e05807865
@@ -41,6 +41,11 @@ if [[ ! -f "$SERVER" ]] || isTrue "${FORCE_REDOWNLOAD:-false}"; then
|
||||
exit 3
|
||||
fi
|
||||
fi
|
||||
if [[ "${PUFFERFISH_CONFIG_REPO}" ]]; then
|
||||
defaultTopLevelConfigs=(bukkit.yml spigot.yml pufferfish.yml)
|
||||
DOWNLOAD_DEFAULTS=$(buildDownloadList "$PUFFERFISH_CONFIG_REPO" "$VERSION" "${defaultTopLevelConfigs[@]}")
|
||||
export DOWNLOAD_DEFAULTS
|
||||
fi
|
||||
|
||||
# Normalize on Spigot for later operations
|
||||
export FAMILY=SPIGOT
|
||||
|
||||
Reference in New Issue
Block a user