mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-02-23 01:26:25 +00:00
For AUTO_CURSEFORGE, provide the option to force include mods (#1900)
This commit is contained in:
@@ -36,13 +36,25 @@ args+=(
|
||||
)
|
||||
|
||||
defaultModExcludes=(
|
||||
581495 # oculus
|
||||
363363 # extreme-sound-muffler
|
||||
448233 # entityculling
|
||||
574856 # rubidium
|
||||
441114 # nekos-enchanted-books
|
||||
521480 # skin-layers-3d
|
||||
433760 # not-enough-animations
|
||||
568563 # entity-texture-features-fabric
|
||||
274259 # carry-on
|
||||
)
|
||||
: "${CF_EXLUDE_MODS:=${defaultModExcludes[@]}}"
|
||||
args+=(--exclude-mods="$CF_EXLUDE_MODS")
|
||||
|
||||
defaultModForceIncludes=(
|
||||
656526 # revelationary
|
||||
)
|
||||
: "${CF_FORCE_INCLUDE_MODS:=${defaultModForceIncludes[@]}}"
|
||||
args+=(--force-include-mods="$CF_FORCE_INCLUDE_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