mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
Add Modrinth plugins support for Spigot/Paper (#1885)
This commit is contained in:
parent
877486802c
commit
dd6cda1ae5
@ -46,7 +46,7 @@ RUN easy-add --var os=${TARGETOS} --var arch=${TARGETARCH}${TARGETVARIANT} \
|
|||||||
--var version=0.1.1 --var app=maven-metadata-release --file {{.app}} \
|
--var version=0.1.1 --var app=maven-metadata-release --file {{.app}} \
|
||||||
--from https://github.com/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_{{.os}}_{{.arch}}.tar.gz
|
--from https://github.com/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_{{.os}}_{{.arch}}.tar.gz
|
||||||
|
|
||||||
ARG MC_HELPER_VERSION=1.22.12
|
ARG MC_HELPER_VERSION=1.23.1
|
||||||
ARG MC_HELPER_BASE_URL=https://github.com/itzg/mc-image-helper/releases/download/${MC_HELPER_VERSION}
|
ARG MC_HELPER_BASE_URL=https://github.com/itzg/mc-image-helper/releases/download/${MC_HELPER_VERSION}
|
||||||
RUN curl -fsSL ${MC_HELPER_BASE_URL}/mc-image-helper-${MC_HELPER_VERSION}.tgz \
|
RUN curl -fsSL ${MC_HELPER_BASE_URL}/mc-image-helper-${MC_HELPER_VERSION}.tgz \
|
||||||
| tar -C /usr/share -zxf - \
|
| tar -C /usr/share -zxf - \
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 72 KiB |
2
examples/.gitignore
vendored
2
examples/.gitignore
vendored
@ -1,2 +1,2 @@
|
|||||||
/data/
|
data/
|
||||||
modpacks/
|
modpacks/
|
13
examples/modrinth-paper/docker-compose.yml
Normal file
13
examples/modrinth-paper/docker-compose.yml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
version: "3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
mc:
|
||||||
|
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
|
||||||
|
environment:
|
||||||
|
EULA: "true"
|
||||||
|
TYPE: PAPER
|
||||||
|
VERSION: 1.19.3
|
||||||
|
MODRINTH_PROJECTS: "coreprotect"
|
||||||
|
MODRINTH_ALLOWED_VERSION_TYPE: "release"
|
||||||
|
volumes:
|
||||||
|
- ./data:/data
|
@ -272,7 +272,7 @@ function modrinthProjects() {
|
|||||||
: "${MODRINTH_DOWNLOAD_OPTIONAL_DEPENDENCIES:=true}"
|
: "${MODRINTH_DOWNLOAD_OPTIONAL_DEPENDENCIES:=true}"
|
||||||
: "${MODRINTH_ALLOWED_VERSION_TYPE:=release}"
|
: "${MODRINTH_ALLOWED_VERSION_TYPE:=release}"
|
||||||
|
|
||||||
if [[ $MODRINTH_PROJECTS ]] && isFamily HYBRID FORGE FABRIC; then
|
if [[ $MODRINTH_PROJECTS ]] && isFamily HYBRID FORGE FABRIC SPIGOT; then
|
||||||
if isFamily HYBRID FORGE; then
|
if isFamily HYBRID FORGE; then
|
||||||
loader=forge
|
loader=forge
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user