mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
3c1a83cc6a
Also, skip version resolution for mod platforms.
1.5 KiB
1.5 KiB
Auto-download from Modrinth
Modrinth is an open source modding platform with a clean, easy to use website for finding Fabric and Forge mods. At startup, the container will automatically locate and download the newest versions of mod/plugin files that correspond to the TYPE
and VERSION
in use. Older file versions downloaded previously will automatically be cleaned up.
- MODRINTH_PROJECTS : comma separated list of project slugs (short name) or IDs. The project ID can be located in the "Technical information" section. The slug is the part of the page URL that follows
/mod/
:
Also, specific version/type can be declared using colon symbol and version id/type after the project slug. The version id can be found at 'Metadata' section. Valid version types arehttps://modrinth.com/mod/fabric-api ---------- | +-- project slug
release
,beta
,alpha
. For instance:-e MODRINTH_PROJECTS=fabric-api,fabric-api:PbVeub96,fabric-api:beta
- MODRINTH_DOWNLOAD_OPTIONAL_DEPENDENCIES=true : required dependencies of the project will always be downloaded and optional dependencies can also be downloaded by setting this to
true
- MODRINTH_ALLOWED_VERSION_TYPE=release : the version type is used to determine the newest version to use from each project. The allowed values are
release
,beta
,alpha
.