mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-08-20 06:03:18 +00:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
648abc4ae4 | ||
|
|
c764961418 |
@@ -60,6 +60,10 @@ jobs:
|
|||||||
baseImage: container-registry.oracle.com/graalvm/jdk:17-ol8
|
baseImage: container-registry.oracle.com/graalvm/jdk:17-ol8
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
mcVersion: 1.20.4
|
mcVersion: 1.20.4
|
||||||
|
- variant: java17-jdk
|
||||||
|
baseImage: eclipse-temurin:17-focal
|
||||||
|
platforms: linux/amd64,linux/arm/v7,linux/arm64
|
||||||
|
mcVersion: 1.20.4
|
||||||
- variant: java17-alpine
|
- variant: java17-alpine
|
||||||
baseImage: eclipse-temurin:17-jre-alpine
|
baseImage: eclipse-temurin:17-jre-alpine
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
@@ -97,7 +101,7 @@ jobs:
|
|||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4.1.7
|
uses: actions/checkout@v4.1.6
|
||||||
with:
|
with:
|
||||||
# for build-files step
|
# for build-files step
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@@ -132,13 +136,13 @@ jobs:
|
|||||||
org.opencontainers.image.authors=Geoff Bourne <itzgeoff@gmail.com>
|
org.opencontainers.image.authors=Geoff Bourne <itzgeoff@gmail.com>
|
||||||
|
|
||||||
- name: Setup Docker Buildx
|
- name: Setup Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3.4.0
|
uses: docker/setup-buildx-action@v3.3.0
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3.1.0
|
uses: docker/setup-qemu-action@v3.0.0
|
||||||
|
|
||||||
- name: Build for test
|
- name: Build for test
|
||||||
uses: docker/build-push-action@v5.4.0
|
uses: docker/build-push-action@v5.3.0
|
||||||
with:
|
with:
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
tags: ${{ env.IMAGE_TO_TEST }}
|
tags: ${{ env.IMAGE_TO_TEST }}
|
||||||
@@ -176,7 +180,7 @@ jobs:
|
|||||||
password: ${{ github.token }}
|
password: ${{ github.token }}
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v5.4.0
|
uses: docker/build-push-action@v5.3.0
|
||||||
if: github.actor == github.repository_owner
|
if: github.actor == github.repository_owner
|
||||||
with:
|
with:
|
||||||
platforms: ${{ matrix.platforms }}
|
platforms: ${{ matrix.platforms }}
|
||||||
|
|||||||
@@ -46,16 +46,16 @@ jobs:
|
|||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4.1.7
|
uses: actions/checkout@v4.1.6
|
||||||
with:
|
with:
|
||||||
# for build-files step
|
# for build-files step
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup Docker Buildx
|
- name: Setup Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3.4.0
|
uses: docker/setup-buildx-action@v3.3.0
|
||||||
|
|
||||||
- name: Confirm multi-arch build
|
- name: Confirm multi-arch build
|
||||||
uses: docker/build-push-action@v5.4.0
|
uses: docker/build-push-action@v5.3.0
|
||||||
with:
|
with:
|
||||||
platforms: ${{ matrix.platforms }}
|
platforms: ${{ matrix.platforms }}
|
||||||
# ensure latest base image is used
|
# ensure latest base image is used
|
||||||
@@ -65,7 +65,7 @@ jobs:
|
|||||||
cache-from: type=gha,scope=${{ matrix.variant }}
|
cache-from: type=gha,scope=${{ matrix.variant }}
|
||||||
|
|
||||||
- name: Build for test
|
- name: Build for test
|
||||||
uses: docker/build-push-action@v5.4.0
|
uses: docker/build-push-action@v5.3.0
|
||||||
with:
|
with:
|
||||||
# Only build single platform since loading multi-arch image into daemon fails with
|
# Only build single platform since loading multi-arch image into daemon fails with
|
||||||
# "docker exporter does not currently support exporting manifest lists"
|
# "docker exporter does not currently support exporting manifest lists"
|
||||||
|
|||||||
+1
-1
@@ -47,7 +47,7 @@ RUN easy-add --var os=${TARGETOS} --var arch=${TARGETARCH}${TARGETVARIANT} \
|
|||||||
--var version=${MC_SERVER_RUNNER_VERSION} --var app=mc-server-runner --file {{.app}} \
|
--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
|
--from ${GITHUB_BASEURL}/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_{{.os}}_{{.arch}}.tar.gz
|
||||||
|
|
||||||
ARG MC_HELPER_VERSION=1.39.3
|
ARG MC_HELPER_VERSION=1.39.0
|
||||||
ARG MC_HELPER_BASE_URL=${GITHUB_BASEURL}/itzg/mc-image-helper/releases/download/${MC_HELPER_VERSION}
|
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
|
# used for cache busting local copy of mc-image-helper
|
||||||
ARG MC_HELPER_REV=1
|
ARG MC_HELPER_REV=1
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ Docker image that runs a Minecraft Bedrock server.
|
|||||||
|
|
||||||
Lightweight multiplexer/proxy for Minecraft Java servers. Provided as a stand-alone application and a Docker image.
|
Lightweight multiplexer/proxy for Minecraft Java servers. Provided as a stand-alone application and a Docker image.
|
||||||
|
|
||||||
### [itzg/mc-proxy](https://github.com/itzg/docker-bungeecord/)
|
### [itzg/bungeecord](https://github.com/itzg/docker-bungeecord/)
|
||||||
|
|
||||||
Docker image that runs a proxy powered by Bungeecord, Velocity, or Waterfall
|
Docker image that runs a proxy powered by Bungeecord, Velocity, or Waterfall
|
||||||
|
|
||||||
|
|||||||
@@ -117,7 +117,7 @@ https://edge.forgecdn.net/files/2871/647/ToastControl-1.15.2-3.0.1.jar
|
|||||||
|
|
||||||
Blank lines and lines that start with a `#` will be ignored
|
Blank lines and lines that start with a `#` will be ignored
|
||||||
|
|
||||||
[This compose file](https://github.com/itzg/docker-minecraft-server/blob/master/examples/mods-file/docker-compose.yml) shows another example of using this feature.
|
[This compose file](https://github.com/itzg/docker-minecraft-server/blob/master/examples/docker-compose-mods-file.yml) shows another example of using this feature.
|
||||||
|
|
||||||
## Remove old mods/plugins
|
## Remove old mods/plugins
|
||||||
|
|
||||||
|
|||||||
@@ -26,5 +26,5 @@
|
|||||||
: Can be set to `none` (the default), `required`, or `optional` to download required and/or optional dependencies.
|
: Can be set to `none` (the default), `required`, or `optional` to download required and/or optional dependencies.
|
||||||
|
|
||||||
`MODRINTH_ALLOWED_VERSION_TYPE`
|
`MODRINTH_ALLOWED_VERSION_TYPE`
|
||||||
: The version type is used to determine the newest version to use from each project. The allowed values are `release` (default), `beta`, `alpha`. Setting to `beta` will pick up both release and beta versions. Setting to `alpha` will pick up release, beta, and alpha versions.
|
: The version type is used to determine the newest version to use from each project. The allowed values are `release` (default), `beta`, `alpha`.
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
mkdocs-material == 9.5.28
|
mkdocs-material == 9.5.26
|
||||||
mkdocs-autorefs == 1.0.1
|
mkdocs-autorefs == 1.0.1
|
||||||
mkdocstrings == 0.25.1
|
mkdocstrings == 0.25.1
|
||||||
mkdocs-literate-nav == 0.6.1
|
mkdocs-literate-nav == 0.6.1
|
||||||
|
|||||||
@@ -73,10 +73,6 @@ To force include client mods, set `MODRINTH_FORCE_INCLUDE_FILES` to a comma or n
|
|||||||
yet-another-config-lib
|
yet-another-config-lib
|
||||||
```
|
```
|
||||||
|
|
||||||
## Default exclude/includes
|
|
||||||
|
|
||||||
The image comes with a default set of exclude/includes, maintained [in the repo files area](https://github.com/itzg/docker-minecraft-server/blob/master/files/modrinth-exclude-include.json) and uses the same [JSON schema](https://github.com/itzg/mc-image-helper?tab=readme-ov-file#excludeinclude-file-schema) as Auto CurseForge. Those defaults can be disabled by setting the env var `MODRINTH_DEFAULT_EXCLUDE_INCLUDES` to an empty string.
|
|
||||||
|
|
||||||
## Excluding Overrides Files
|
## Excluding Overrides Files
|
||||||
|
|
||||||
Modrinth mrpack/zip files may include an `overrides` subdirectory that contains config files, world data, and extra mod files. All of those files will be extracted into the `/data` path of the container. If any of those files, such as incompatible mods, need to be excluded from extraction, then the `MODRINTH_OVERRIDES_EXCLUSIONS` variable can be set with a comma or newline delimited list of ant-style paths ([see below](#ant-style-paths)) to exclude, relative to the overrides (or `/data`) directory.
|
Modrinth mrpack/zip files may include an `overrides` subdirectory that contains config files, world data, and extra mod files. All of those files will be extracted into the `/data` path of the container. If any of those files, such as incompatible mods, need to be excluded from extraction, then the `MODRINTH_OVERRIDES_EXCLUSIONS` variable can be set with a comma or newline delimited list of ant-style paths ([see below](#ant-style-paths)) to exclude, relative to the overrides (or `/data`) directory.
|
||||||
|
|||||||
@@ -80,18 +80,6 @@ The `stable` image tag combines the benefits of `latest` and [release versions](
|
|||||||
|
|
||||||
[This section in the Minecraft wiki](https://minecraft.wiki/w/Tutorials/Update_Java#Why_update?) lists out versions of **vanilla** Minecraft versions and the corresponding Java version that is required.
|
[This section in the Minecraft wiki](https://minecraft.wiki/w/Tutorials/Update_Java#Why_update?) lists out versions of **vanilla** Minecraft versions and the corresponding Java version that is required.
|
||||||
|
|
||||||
### Class file version 65.0
|
|
||||||
|
|
||||||
If encountering a startup failure similar to the following examples, then ensure that the latest image has been re-pulled to use a Java 21. Alternatively, set the image tag specifically to `itzg/minecraft-server:java21`.
|
|
||||||
|
|
||||||
> Exception in thread "ServerMain" java.lang.UnsupportedClassVersionError: org/bukkit/craftbukkit/Main has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0
|
|
||||||
|
|
||||||
or
|
|
||||||
|
|
||||||
> Error: LinkageError occurred while loading main class net.minecraft.bundler.Main
|
|
||||||
java.lang.UnsupportedClassVersionError: net/minecraft/bundler/Main has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0
|
|
||||||
|
|
||||||
|
|
||||||
### Forge versions
|
### Forge versions
|
||||||
|
|
||||||
Forge and its mods sometimes utilize non-public APIs of the JVM and as such are suspceptible to becoming broken with newer Java versions.
|
Forge and its mods sometimes utilize non-public APIs of the JVM and as such are suspceptible to becoming broken with newer Java versions.
|
||||||
|
|||||||
@@ -16,6 +16,21 @@ services:
|
|||||||
- "25565:25565"
|
- "25565:25565"
|
||||||
volumes:
|
volumes:
|
||||||
- mc-data:/data
|
- mc-data:/data
|
||||||
|
- ./downloads:/downloads
|
||||||
|
# Manually download the following and put into the 'downloads' directory next to this compose file
|
||||||
|
#
|
||||||
|
# Mod Filename Download page
|
||||||
|
# =========================== ========================================= ====================================================================================
|
||||||
|
# Fish of Thieves [Fabric 1.20.1] Fish of Thieves v3.0.3 https://www.curseforge.com/minecraft/mc-mods/fish-of-thieves/files/4958329
|
||||||
|
# Only Hammers [FORGE/FABRIC] OnlyHammers-1.20.1-0.6-Fabric https://www.curseforge.com/minecraft/mc-mods/only-hammers-forge-fabric/files/4832068
|
||||||
|
# Sprinklerz sprinklerz-0.5_fabric.jar https://www.curseforge.com/minecraft/mc-mods/sprinklerz/files/4835664
|
||||||
|
# Frog Legs (Fabric/Forge) FrogLegs-v2.0.0-1.20.1-Fabric.jar https://www.curseforge.com/minecraft/mc-mods/froglegs/files/4917818
|
||||||
|
# TrimsEffects [FABRIC] TrimsEffects - MC 1.20.X - 1.1.0 https://www.curseforge.com/minecraft/mc-mods/trimseffects/files/4954156
|
||||||
|
# Display Case Display Case-fabric-1.20-1.0.8.jar https://www.curseforge.com/minecraft/mc-mods/displaycase/files/4921333
|
||||||
|
# Structory: Towers Structory Towers 1.20.4 v1.0.6 https://www.curseforge.com/minecraft/mc-mods/structory-towers/files/4937875
|
||||||
|
# Packet Fixer Packet Fixer Fabric 1.2.1 https://www.curseforge.com/minecraft/mc-mods/packet-fixer/files/4884316
|
||||||
|
# Perfect Plushies Perfect Plushies 1.9.0 [Fabric] https://www.curseforge.com/minecraft/mc-mods/perfect-plushies/files/4985767
|
||||||
|
# Structory Structory 1.20.2 v1.3.4 https://www.curseforge.com/minecraft/mc-mods/structory/files/4937872
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
mc-data: {}
|
mc-data: {}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
mc:
|
mc:
|
||||||
image: itzg/minecraft-server:java17
|
image: itzg/minecraft-server
|
||||||
ports:
|
ports:
|
||||||
- "25565:25565"
|
- "25565:25565"
|
||||||
environment:
|
environment:
|
||||||
@@ -9,10 +9,11 @@ services:
|
|||||||
# allocate from https://console.curseforge.com/ and set in .env file
|
# allocate from https://console.curseforge.com/ and set in .env file
|
||||||
CF_API_KEY: ${CF_API_KEY}
|
CF_API_KEY: ${CF_API_KEY}
|
||||||
CF_PAGE_URL: https://www.curseforge.com/minecraft/modpacks/all-the-mods-8
|
CF_PAGE_URL: https://www.curseforge.com/minecraft/modpacks/all-the-mods-8
|
||||||
# CF_FILENAME_MATCHER: "1.1.0"
|
CF_FILENAME_MATCHER: "1.0.6"
|
||||||
MEMORY: 4G
|
MEMORY: 4G
|
||||||
volumes:
|
volumes:
|
||||||
- mc-data:/data
|
- mc-data:/data
|
||||||
|
- ../downloads:/downloads
|
||||||
# Since Docker's default volume driver creates volumes owned by root, this
|
# Since Docker's default volume driver creates volumes owned by root, this
|
||||||
# init container will change ownership to match final UID of mc service, above
|
# init container will change ownership to match final UID of mc service, above
|
||||||
init-filebrowser:
|
init-filebrowser:
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ services:
|
|||||||
MEMORY: 4G
|
MEMORY: 4G
|
||||||
volumes:
|
volumes:
|
||||||
- mc-data:/data
|
- mc-data:/data
|
||||||
|
- ./downloads:/downloads
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
mc-data: {}
|
mc-data: {}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
mc:
|
mc:
|
||||||
image: itzg/minecraft-server:java8
|
image: itzg/minecraft-server:java8-multiarch
|
||||||
ports:
|
ports:
|
||||||
- "25565:25565"
|
- "25565:25565"
|
||||||
environment:
|
environment:
|
||||||
@@ -43,6 +43,7 @@ services:
|
|||||||
MEMORY: 4G
|
MEMORY: 4G
|
||||||
volumes:
|
volumes:
|
||||||
- mc-data:/data
|
- mc-data:/data
|
||||||
|
- ./downloads:/downloads
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
mc-data: {}
|
mc-data: {}
|
||||||
@@ -7,10 +7,11 @@ services:
|
|||||||
# Set CF_API_KEY=... in a .env file next to this compose file and don't source control that file
|
# Set CF_API_KEY=... in a .env file next to this compose file and don't source control that file
|
||||||
CF_API_KEY: ${CF_API_KEY}
|
CF_API_KEY: ${CF_API_KEY}
|
||||||
CF_SLUG: better-mc-fabric-bmc1
|
CF_SLUG: better-mc-fabric-bmc1
|
||||||
# CF_FILENAME_MATCHER: v18.5
|
CF_FILENAME_MATCHER: v18.5
|
||||||
MEMORY: 4G
|
MEMORY: 4G
|
||||||
volumes:
|
volumes:
|
||||||
- mc:/data
|
- mc:/data
|
||||||
|
- ../downloads:/downloads
|
||||||
ports:
|
ports:
|
||||||
- "25565:25565"
|
- "25565:25565"
|
||||||
|
|
||||||
|
|||||||
@@ -2,14 +2,22 @@ services:
|
|||||||
mc:
|
mc:
|
||||||
image: itzg/minecraft-server:java17
|
image: itzg/minecraft-server:java17
|
||||||
environment:
|
environment:
|
||||||
DEBUG: true
|
|
||||||
SETUP_ONLY: true
|
|
||||||
EULA: true
|
EULA: true
|
||||||
TYPE: MODRINTH
|
TYPE: MODRINTH
|
||||||
VERSION: 1.20.1
|
|
||||||
MEMORY: 4G
|
MEMORY: 4G
|
||||||
MODRINTH_MODPACK: better-mc-forge-bmc4
|
MODRINTH_MODPACK: better-mc-forge-bmc4
|
||||||
MODRINTH_VERSION: v28
|
MODRINTH_VERSION: v26
|
||||||
|
MODRINTH_EXCLUDE_FILES: |
|
||||||
|
citresewn
|
||||||
|
oculus
|
||||||
|
yungsmenutweaks
|
||||||
|
notenoughanimations
|
||||||
|
ryoamiclights
|
||||||
|
euphoriapatcher
|
||||||
|
entity_model_features
|
||||||
|
entity_texture_features
|
||||||
|
3dskinlayers
|
||||||
|
connector
|
||||||
MODRINTH_OVERRIDES_EXCLUSIONS: |
|
MODRINTH_OVERRIDES_EXCLUSIONS: |
|
||||||
mods/NekosEnchantedBooks-*.jar
|
mods/NekosEnchantedBooks-*.jar
|
||||||
mods/citresewn-*.jar
|
mods/citresewn-*.jar
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
EULA: "TRUE"
|
EULA: "TRUE"
|
||||||
ENABLE_AUTOPAUSE: "TRUE"
|
ENABLE_AUTOPAUSE: "TRUE"
|
||||||
|
OVERRIDE_SERVER_PROPERTIES: "TRUE"
|
||||||
MAX_TICK_TIME: "-1"
|
MAX_TICK_TIME: "-1"
|
||||||
# More aggressive settings for demo purposes
|
# More aggressive settings for demo purposes
|
||||||
AUTOPAUSE_TIMEOUT_INIT: "30"
|
AUTOPAUSE_TIMEOUT_INIT: "30"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
proxy:
|
proxy:
|
||||||
image: itzg/mc-proxy
|
image: itzg/bungeecord
|
||||||
environment:
|
environment:
|
||||||
TYPE: WATERFALL
|
TYPE: WATERFALL
|
||||||
ports:
|
ports:
|
||||||
@@ -10,7 +10,7 @@ services:
|
|||||||
- ./waterfall-config:/config
|
- ./waterfall-config:/config
|
||||||
# If you want to use Velocity here is a premade version that supports Velocity
|
# If you want to use Velocity here is a premade version that supports Velocity
|
||||||
# velocity-proxy:
|
# velocity-proxy:
|
||||||
# image: itzg/mc-proxy
|
# image: itzg/bungeecord
|
||||||
# environment:
|
# environment:
|
||||||
# TYPE: VELOCITY
|
# TYPE: VELOCITY
|
||||||
# ports:
|
# ports:
|
||||||
|
|||||||
@@ -1,18 +0,0 @@
|
|||||||
services:
|
|
||||||
mc:
|
|
||||||
image: itzg/minecraft-server
|
|
||||||
ports:
|
|
||||||
- "25565:25565"
|
|
||||||
environment:
|
|
||||||
EULA: "true"
|
|
||||||
MOD_PLATFORM: AUTO_CURSEFORGE
|
|
||||||
# allocate from https://console.curseforge.com/ and set in .env file
|
|
||||||
CF_API_KEY: ${CF_API_KEY}
|
|
||||||
CF_PAGE_URL: https://www.curseforge.com/minecraft/modpacks/prominence-2-rpg
|
|
||||||
CF_FILENAME_MATCHER: "2.8.7"
|
|
||||||
MEMORY: 4G
|
|
||||||
volumes:
|
|
||||||
- mc-data:/data
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
mc-data: {}
|
|
||||||
@@ -13,21 +13,38 @@ services:
|
|||||||
# Optional: select a specific version/file
|
# Optional: select a specific version/file
|
||||||
#CF_FILENAME_MATCHER: "0.2.34"
|
#CF_FILENAME_MATCHER: "0.2.34"
|
||||||
CF_EXCLUDE_MODS: |
|
CF_EXCLUDE_MODS: |
|
||||||
|
auudio-forge
|
||||||
|
betterf3
|
||||||
|
better-third-person
|
||||||
|
clickable-advancements
|
||||||
controlling
|
controlling
|
||||||
craftpresence
|
craftpresence
|
||||||
creative-core
|
creative-core
|
||||||
default-options
|
default-options
|
||||||
|
drippy-loading-screen
|
||||||
|
embeddium
|
||||||
|
embeddium-extension
|
||||||
|
embeddium-extras
|
||||||
equipment-compare
|
equipment-compare
|
||||||
|
ezzoom
|
||||||
|
fading-night-vision
|
||||||
|
fancymenu
|
||||||
item-borders
|
item-borders
|
||||||
itemphysic-lite
|
itemphysic-lite
|
||||||
|
just-enough-resources-jer
|
||||||
konkrete
|
konkrete
|
||||||
|
legendary-tooltips
|
||||||
|
mouse-tweaks
|
||||||
oauth
|
oauth
|
||||||
|
oculus
|
||||||
sound-filters
|
sound-filters
|
||||||
|
textrues-embeddium-options
|
||||||
toast-control
|
toast-control
|
||||||
CF_FORCE_SYNCHRONIZE: "true"
|
CF_FORCE_SYNCHRONIZE: "true"
|
||||||
MEMORY: 4G
|
MEMORY: 4G
|
||||||
volumes:
|
volumes:
|
||||||
- mc-data:/data
|
- mc-data:/data
|
||||||
|
- ./downloads:/downloads
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
mc-data: {}
|
mc-data: {}
|
||||||
|
|||||||
@@ -16,6 +16,10 @@ services:
|
|||||||
ENABLE_COMMAND_BLOCK: true
|
ENABLE_COMMAND_BLOCK: true
|
||||||
DIFFICULTY: hard
|
DIFFICULTY: hard
|
||||||
volumes:
|
volumes:
|
||||||
|
# Need to place non-distributable mods in ./downloads/mods
|
||||||
|
# As of Update-10.0.0
|
||||||
|
# - Neon Craft 2 v2.2: https://www.curseforge.com/minecraft/mc-mods/neon-craft-2-mod/files/3726051
|
||||||
|
- ./downloads:/downloads
|
||||||
- mc-data:/data
|
- mc-data:/data
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -1,64 +1,30 @@
|
|||||||
{
|
{
|
||||||
"globalExcludes": [
|
"globalExcludes": [
|
||||||
|
|
||||||
"ambientsounds",
|
"ambientsounds",
|
||||||
"auudio-forge",
|
|
||||||
"ambience-music-mod",
|
|
||||||
"appleskin",
|
|
||||||
"armor-chroma",
|
|
||||||
"armor-toughness-bar",
|
"armor-toughness-bar",
|
||||||
"beehivetooltips",
|
|
||||||
"better-advancements",
|
|
||||||
"betterf3",
|
|
||||||
"betterfps",
|
|
||||||
"better-foliage",
|
|
||||||
"better-placement",
|
|
||||||
"better-sprinting",
|
|
||||||
"better-tips-nbt-tag",
|
|
||||||
"better-third-person",
|
|
||||||
"biomeinfo",
|
"biomeinfo",
|
||||||
"block-drops-jei-addon",
|
"block-drops-jei-addon",
|
||||||
"cherished-worlds",
|
"cherished-worlds",
|
||||||
"chunk-animator",
|
|
||||||
"clickable-advancements",
|
|
||||||
"configured",
|
|
||||||
"controlling",
|
"controlling",
|
||||||
"ctm",
|
"ctm",
|
||||||
"custom-main-menu",
|
"custom-main-menu",
|
||||||
"defensive-measures",
|
"defensive-measures",
|
||||||
"ding",
|
"ding",
|
||||||
"drippy-loading-screen",
|
|
||||||
"dynamiclights-reforged",
|
"dynamiclights-reforged",
|
||||||
"dynamic-surroundings",
|
|
||||||
"easiervillagertrading",
|
|
||||||
"effective-forge",
|
|
||||||
"embeddium",
|
"embeddium",
|
||||||
"embeddium-extension",
|
|
||||||
"embeddium-extras",
|
|
||||||
"enchantment-descriptions",
|
"enchantment-descriptions",
|
||||||
"entity-collision-fps-fix",
|
|
||||||
"entity-texture-features-fabric",
|
"entity-texture-features-fabric",
|
||||||
"entityculling",
|
"entityculling",
|
||||||
"extreme-sound-muffler",
|
"extreme-sound-muffler",
|
||||||
"ezzoom",
|
|
||||||
"fading-night-vision",
|
|
||||||
"falling-leaves-forge",
|
|
||||||
"fancymenu",
|
|
||||||
"faster-ladder-climbing",
|
|
||||||
"foamfix-optimization-mod",
|
|
||||||
"free-cam",
|
"free-cam",
|
||||||
"ftb-backups-2",
|
|
||||||
"fullscreen-windowed-borderless-for-minecraft",
|
|
||||||
"hwyla",
|
|
||||||
"ignitioncoil",
|
"ignitioncoil",
|
||||||
"inmisaddon",
|
"inmisaddon",
|
||||||
"irisshaders",
|
"irisshaders",
|
||||||
"iris-flywheel-compat",
|
"iris-flywheel-compat",
|
||||||
"item-obliterator",
|
|
||||||
"itemzoom",
|
|
||||||
"just-enough-harvestcraft",
|
"just-enough-harvestcraft",
|
||||||
"just-enough-resources-jer",
|
"just-enough-resources-jer",
|
||||||
"legendary-tooltips",
|
"legendary-tooltips",
|
||||||
"lootbeams",
|
|
||||||
"loot-capacitor-tooltips",
|
"loot-capacitor-tooltips",
|
||||||
"magnesium-extras",
|
"magnesium-extras",
|
||||||
"menumobs",
|
"menumobs",
|
||||||
@@ -66,10 +32,8 @@
|
|||||||
"more-overlays",
|
"more-overlays",
|
||||||
"mouse-tweaks",
|
"mouse-tweaks",
|
||||||
"neat",
|
"neat",
|
||||||
"necronomicon",
|
|
||||||
"nekos-enchanted-books",
|
"nekos-enchanted-books",
|
||||||
"no-recipe-book",
|
"no-recipe-book",
|
||||||
"no-nv-flash",
|
|
||||||
"not-enough-animations",
|
"not-enough-animations",
|
||||||
"oculus",
|
"oculus",
|
||||||
"oldjavawarning",
|
"oldjavawarning",
|
||||||
@@ -79,28 +43,13 @@
|
|||||||
"resource-reloader",
|
"resource-reloader",
|
||||||
"rubidium",
|
"rubidium",
|
||||||
"rubidium-extra",
|
"rubidium-extra",
|
||||||
"ryoamiclights",
|
|
||||||
"schematica",
|
|
||||||
"searchables",
|
|
||||||
"shulkerboxviewer",
|
|
||||||
"skin-layers-3d",
|
"skin-layers-3d",
|
||||||
"smart-hud",
|
|
||||||
"smooth-font",
|
|
||||||
"smoothwater",
|
|
||||||
"sodium",
|
"sodium",
|
||||||
"sound-filters",
|
|
||||||
"sound-physics-remastered",
|
|
||||||
"stellar-sky",
|
|
||||||
"swingthroughgrass",
|
|
||||||
"textrues-embeddium-options",
|
|
||||||
"textrues-rubidium-options",
|
"textrues-rubidium-options",
|
||||||
"thaumic-jei",
|
"thaumic-jei",
|
||||||
"tips",
|
"tips",
|
||||||
"torohealth-damage-indicators",
|
"torohealth-damage-indicators",
|
||||||
"true-darkness",
|
"true-darkness",
|
||||||
"ungrab-mouse-mod",
|
|
||||||
"vanillafix",
|
|
||||||
"visuality",
|
|
||||||
"waila-harvestability",
|
"waila-harvestability",
|
||||||
"zume"
|
"zume"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -1,16 +0,0 @@
|
|||||||
{
|
|
||||||
"globalExcludes": [
|
|
||||||
"3dskinlayers",
|
|
||||||
"citresewn",
|
|
||||||
"connector",
|
|
||||||
"entity_model_features",
|
|
||||||
"entity_texture_features",
|
|
||||||
"euphoriapatcher",
|
|
||||||
"notenoughanimations",
|
|
||||||
"oculus",
|
|
||||||
"ryoamiclights",
|
|
||||||
"yungsmenutweaks"
|
|
||||||
],
|
|
||||||
"globalForceIncludes": [],
|
|
||||||
"modpacks": {}
|
|
||||||
}
|
|
||||||
@@ -12,7 +12,7 @@ set -eu
|
|||||||
: "${CF_FORCE_SYNCHRONIZE:=false}"
|
: "${CF_FORCE_SYNCHRONIZE:=false}"
|
||||||
: "${CF_FORCE_REINSTALL_MODLOADER:=false}"
|
: "${CF_FORCE_REINSTALL_MODLOADER:=false}"
|
||||||
: "${CF_IGNORE_MISSING_FILES:=}"
|
: "${CF_IGNORE_MISSING_FILES:=}"
|
||||||
: "${CF_EXCLUDE_INCLUDE_FILE=/image/cf-exclude-include.json}"
|
: "${CF_EXCLUDE_INCLUDE_FILE=https://raw.githubusercontent.com/itzg/docker-minecraft-server/master/files/cf-exclude-include.json}"
|
||||||
: "${CF_EXCLUDE_MODS:=}"
|
: "${CF_EXCLUDE_MODS:=}"
|
||||||
: "${CF_FORCE_INCLUDE_MODS:=}"
|
: "${CF_FORCE_INCLUDE_MODS:=}"
|
||||||
: "${CF_SET_LEVEL_FROM:=}" # --set-level-from
|
: "${CF_SET_LEVEL_FROM:=}" # --set-level-from
|
||||||
|
|||||||
@@ -9,11 +9,10 @@ resultsFile=/data/.install-modrinth.env
|
|||||||
: "${MODRINTH_MODPACK:=${MODRINTH_PROJECT:-}}"
|
: "${MODRINTH_MODPACK:=${MODRINTH_PROJECT:-}}"
|
||||||
: "${MODRINTH_LOADER:=}"
|
: "${MODRINTH_LOADER:=}"
|
||||||
: "${MODRINTH_VERSION:=${MODRINTH_VERSION_ID:-}}"
|
: "${MODRINTH_VERSION:=${MODRINTH_VERSION_ID:-}}"
|
||||||
: "${MODRINTH_IGNORE_MISSING_FILES=}"
|
: "${MODRINTH_IGNORE_MISSING_FILES:=}"
|
||||||
: "${MODRINTH_EXCLUDE_FILES=}"
|
: "${MODRINTH_EXCLUDE_FILES:=}"
|
||||||
: "${MODRINTH_FORCE_INCLUDE_FILES=}"
|
: "${MODRINTH_FORCE_INCLUDE_FILES:=}"
|
||||||
: "${MODRINTH_OVERRIDES_EXCLUSIONS=}"
|
: "${MODRINTH_OVERRIDES_EXCLUSIONS:=}"
|
||||||
: "${MODRINTH_DEFAULT_EXCLUDE_INCLUDES=/image/modrinth-exclude-include.json}"
|
|
||||||
|
|
||||||
if [[ ! $MODRINTH_MODPACK ]]; then
|
if [[ ! $MODRINTH_MODPACK ]]; then
|
||||||
log "ERROR: MODRINTH_MODPACK must be set when using TYPE/MOD_PLATFORM of MODRINTH"
|
log "ERROR: MODRINTH_MODPACK must be set when using TYPE/MOD_PLATFORM of MODRINTH"
|
||||||
@@ -61,7 +60,6 @@ setArg --default-version-type MODRINTH_DEFAULT_VERSION_TYPE
|
|||||||
setArg --exclude-files MODRINTH_EXCLUDE_FILES
|
setArg --exclude-files MODRINTH_EXCLUDE_FILES
|
||||||
setArg --force-include-files MODRINTH_FORCE_INCLUDE_FILES
|
setArg --force-include-files MODRINTH_FORCE_INCLUDE_FILES
|
||||||
setArg --overrides-exclusions MODRINTH_OVERRIDES_EXCLUSIONS
|
setArg --overrides-exclusions MODRINTH_OVERRIDES_EXCLUSIONS
|
||||||
setArg --default-exclude-includes MODRINTH_DEFAULT_EXCLUDE_INCLUDES
|
|
||||||
|
|
||||||
if ! mc-image-helper install-modrinth-modpack "${args[@]}"; then
|
if ! mc-image-helper install-modrinth-modpack "${args[@]}"; then
|
||||||
log "ERROR failed to install Modrinth modpack"
|
log "ERROR failed to install Modrinth modpack"
|
||||||
|
|||||||
@@ -5,15 +5,10 @@
|
|||||||
set -e
|
set -e
|
||||||
isDebugging && set -x
|
isDebugging && set -x
|
||||||
|
|
||||||
# support absolute directories
|
if [ "$TYPE" = "CURSEFORGE" ]; then
|
||||||
if [[ "${LEVEL:-world}" =~ ^\/.*$ ]]; then
|
worldDest=$FTB_DIR/${LEVEL:-world}
|
||||||
worldDest=${LEVEL}
|
|
||||||
else
|
else
|
||||||
if [ "$TYPE" = "CURSEFORGE" ]; then
|
worldDest=/data/${LEVEL:-world}
|
||||||
worldDest=$FTB_DIR/${LEVEL:-world}
|
|
||||||
else
|
|
||||||
worldDest=/data/${LEVEL:-world}
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$WORLD" ]] && ( isTrue "${FORCE_WORLD_COPY}" || [ ! -d "$worldDest" ] ); then
|
if [[ "$WORLD" ]] && ( isTrue "${FORCE_WORLD_COPY}" || [ ! -d "$worldDest" ] ); then
|
||||||
|
|||||||
@@ -2,8 +2,6 @@
|
|||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
IFS=$'\n\t'
|
IFS=$'\n\t'
|
||||||
|
|
||||||
: "${IMAGE_TO_TEST:=itzg/minecraft-server}"
|
|
||||||
|
|
||||||
# go to script root directory
|
# go to script root directory
|
||||||
cd "$(dirname "$0")" || exit 1
|
cd "$(dirname "$0")" || exit 1
|
||||||
|
|
||||||
@@ -48,7 +46,7 @@ setupOnlyMinecraftTest(){
|
|||||||
outputContainerLog "$logs"
|
outputContainerLog "$logs"
|
||||||
result=1
|
result=1
|
||||||
elif [ -f verify.sh ]; then
|
elif [ -f verify.sh ]; then
|
||||||
if ! docker run --rm --entrypoint bash -v "${PWD}/data":/data -v "${PWD}/verify.sh":/verify "${IMAGE_TO_TEST}" -e /verify; then
|
if ! docker run --rm --entrypoint bash -v "${PWD}/data":/data -v "${PWD}/verify.sh":/verify "${IMAGE_TO_TEST:-itzg/minecraft-server}" -e /verify; then
|
||||||
endTime=$(date +%s)
|
endTime=$(date +%s)
|
||||||
echo "${folder} FAILED verify in $(delta start)"
|
echo "${folder} FAILED verify in $(delta start)"
|
||||||
outputContainerLog "$logs"
|
outputContainerLog "$logs"
|
||||||
@@ -76,7 +74,7 @@ if (( $# > 0 )); then
|
|||||||
else
|
else
|
||||||
readarray -t folders < <(find . -maxdepth 2 -mindepth 2 -name docker-compose.yml -printf '%h\n')
|
readarray -t folders < <(find . -maxdepth 2 -mindepth 2 -name docker-compose.yml -printf '%h\n')
|
||||||
for folder in "${folders[@]}"; do
|
for folder in "${folders[@]}"; do
|
||||||
echo "Starting Tests in ${folder} using $IMAGE_TO_TEST"
|
echo "Starting Tests in ${folder}"
|
||||||
setupOnlyMinecraftTest "$folder"
|
setupOnlyMinecraftTest "$folder"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user