From 7fa522853ff959e99ae04efb0db092e4d182c080 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Thu, 28 Dec 2023 21:52:53 -0600 Subject: [PATCH] neoforge: support 1.20.2+ (#2564) --- Dockerfile | 2 +- .../mod-platforms/curseforge.md | 4 ++++ docs/types-and-platforms/server-types/forge.md | 6 +++--- examples/neoforge/docker-compose.yml | 14 ++++++++++++++ 4 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 examples/neoforge/docker-compose.yml diff --git a/Dockerfile b/Dockerfile index e442641..a5d4644 100644 --- a/Dockerfile +++ b/Dockerfile @@ -49,7 +49,7 @@ RUN easy-add --var os=${TARGETOS} --var arch=${TARGETARCH}${TARGETVARIANT} \ --var version=${MC_SERVER_RUNNER_VERSION} --var app=mc-server-runner --file {{.app}} \ --from ${GITHUB_BASEURL}/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_{{.os}}_{{.arch}}.tar.gz -ARG MC_HELPER_VERSION=1.37.5 +ARG MC_HELPER_VERSION=1.37.6 ARG MC_HELPER_BASE_URL=${GITHUB_BASEURL}/itzg/mc-image-helper/releases/download/${MC_HELPER_VERSION} # used for cache busting local copy of mc-image-helper ARG MC_HELPER_REV=1 diff --git a/docs/types-and-platforms/mod-platforms/curseforge.md b/docs/types-and-platforms/mod-platforms/curseforge.md index 5ecc93e..8fb4e69 100644 --- a/docs/types-and-platforms/mod-platforms/curseforge.md +++ b/docs/types-and-platforms/mod-platforms/curseforge.md @@ -1,5 +1,9 @@ # Manual CurseForge server packs +!!! warning "Deprecated" + + This mod platform type is deprecated. Please use [AUTO_CURSEFORGE](auto-curseforge.md) for new deployments. + Enable this server mode by setting `MOD_PLATFORM` or `TYPE` to "CURSEFORGE" along with the following specific variables. You need to specify a modpack to run, using the `CF_SERVER_MOD` environment diff --git a/docs/types-and-platforms/server-types/forge.md b/docs/types-and-platforms/server-types/forge.md index a86f587..58ee93a 100644 --- a/docs/types-and-platforms/server-types/forge.md +++ b/docs/types-and-platforms/server-types/forge.md @@ -40,7 +40,7 @@ In both of the cases above, there is no need for the `VERSION` or `FORGE_VERSION ### NeoForge -Support for [NeoForge](https://neoforged.net/) is also provided. A NeoForge server can be automatically managed by setting `TYPE` to "NEOFORGE". `VERSION` specifies the Minecraft version and `NEOFORGE_VERSION` can be set to select a specific sub-version. By default, the latest NeoForge version available for the requested Minecraft version will be used. +Support for [NeoForge](https://neoforged.net/) is also provided. A NeoForge server can be automatically managed by setting `TYPE` to "NEOFORGE". `VERSION` specifies the Minecraft version and `NEOFORGE_VERSION` can be set to select a specific version, "latest", or "beta". By default, the latest, non-beta NeoForge version available for the requested Minecraft version will be used. !!! example @@ -52,6 +52,6 @@ Support for [NeoForge](https://neoforged.net/) is also provided. A NeoForge serv ```yaml environment: TYPE: NEOFORGE - VERSION: "1.20.1" - NEOFORGE_VERSION: "47.1.79" + VERSION: "1.20.4" + NEOFORGE_VERSION: "beta" ``` diff --git a/examples/neoforge/docker-compose.yml b/examples/neoforge/docker-compose.yml new file mode 100644 index 0000000..0a01b6f --- /dev/null +++ b/examples/neoforge/docker-compose.yml @@ -0,0 +1,14 @@ +services: + mc: + image: itzg/minecraft-server + environment: + EULA: true + TYPE: NEOFORGE + VERSION: latest + NEOFORGE_VERSION: beta + ports: + - "25565:25565" + volumes: + - mc:/data +volumes: + mc: {} \ No newline at end of file