mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-10-19 17:28:14 +00:00
Correct AUTO_CURSEFORGE to also include library mods and ability to exclude specific mods (#1897)
This commit is contained in:
1 parent
8d3ec29a44
commit
df0c57d111
4 files changed
+12
-2
No files matched your search
@@ -197,7 +197,7 @@ case "${TYPE^^}" in
|
||||
;;
|
||||
|
||||
AUTO_CURSEFORGE)
|
||||
exec "${SCRIPTS:-/}start-autoDeployCF" "$@"
|
||||
exec "${SCRIPTS:-/}start-deployAutoCF" "$@"
|
||||
;;
|
||||
|
||||
VANILLA)
|
||||
|
||||
@@ -29,6 +29,14 @@ if [[ $CF_FILENAME_MATCHER ]]; then
|
||||
args+=(--filename-matcher="$CF_FILENAME_MATCHER")
|
||||
fi
|
||||
|
||||
defaultModExcludes=(
|
||||
363363 # extreme-sound-muffler
|
||||
448233 # entityculling
|
||||
574856 # rubidium
|
||||
)
|
||||
: "${CF_EXLUDE_MODS:=${defaultModExcludes[@]}}"
|
||||
args+=(--exclude-mods="$CF_EXLUDE_MODS")
|
||||
|
||||
if ! mc-image-helper install-curseforge "${args[@]}"; then
|
||||
log "ERROR failed to auto-install CurseForge modpack"
|
||||
exit 1
|
||||
Reference in new issue
Block a user