mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-03-06 06:46:27 +00:00
Allow custom modloader versions for auto curseforge (#3759)
This commit is contained in:
@@ -22,6 +22,7 @@ set -eu
|
||||
: "${CF_MODPACK_MANIFEST:=}"
|
||||
: "${CF_API_CACHE_DEFAULT_TTL:=}" # as ISO-8601 duration, such as P2D or PT12H
|
||||
: "${CF_API_KEY_FILE:=}" # Path to file containing CurseForge API key
|
||||
: "${CF_MOD_LOADER_VERSION:=}" # Override mod loader version
|
||||
|
||||
resultsFile=/data/.install-curseforge.env
|
||||
|
||||
@@ -66,6 +67,7 @@ setArg --exclude-mods CF_EXCLUDE_MODS
|
||||
setArg --force-include-mods CF_FORCE_INCLUDE_MODS
|
||||
setArg --exclude-include-file CF_EXCLUDE_INCLUDE_FILE
|
||||
setArg --downloads-repo CF_DOWNLOADS_REPO
|
||||
setArg --mod-loader-version CF_MOD_LOADER_VERSION
|
||||
|
||||
if ! mc-image-helper install-curseforge "${args[@]}"; then
|
||||
logError "Failed to auto-install CurseForge modpack"
|
||||
|
||||
Reference in New Issue
Block a user