mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
Hybrid servers using CURSEFORGE_FILES assume mc-mods for Forge (#2740)
This commit is contained in:
parent
f10bb45964
commit
46fb560ed9
11
examples/ketting/docker-compose.yml
Normal file
11
examples/ketting/docker-compose.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
services:
|
||||||
|
mc:
|
||||||
|
image: itzg/minecraft-server
|
||||||
|
environment:
|
||||||
|
EULA: true
|
||||||
|
TYPE: KETTING
|
||||||
|
VERSION: 1.20.1
|
||||||
|
CF_API_KEY: "${CF_API_KEY}"
|
||||||
|
CURSEFORGE_FILES: https://www.curseforge.com/minecraft/mc-mods/aquaculture
|
||||||
|
ports:
|
||||||
|
- "25565:25565"
|
@ -272,6 +272,13 @@ function handleCurseForgeFiles() {
|
|||||||
forge|fabric|quilt)
|
forge|fabric|quilt)
|
||||||
args+=(--mod-loader "$TYPE")
|
args+=(--mod-loader "$TYPE")
|
||||||
;;
|
;;
|
||||||
|
*)
|
||||||
|
if isFamily HYBRID; then
|
||||||
|
# To disambiguate mc-mods we'll assume that hybrid servers
|
||||||
|
# are blending Forge (rather than Fabric or NeoForge)
|
||||||
|
args+=(--mod-loader "forge")
|
||||||
|
fi
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
|
Loading…
Reference in New Issue
Block a user