mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-02-17 07:03:57 +00:00
1.8 KiB
1.8 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 or newline separated list of project slugs (short name) or IDs. The project ID is located in the "Technical information" section. The slug is the part of the page URL that follows
/mod/:Also, a specific version/type can be declared using colon symbol and version id/type after the project slug. The version id can be found in the 'Metadata' section. Valid version types arehttps://modrinth.com/mod/fabric-api ---------- | +-- project slugrelease,beta,alpha.
!!! example
| Description | Example |
|---------------------------------|-----------------------|
| Select latest version | `fabric-api` |
| Select specific version | `fabric-api:PbVeub96` |
| Select latest beta version | `fabric-api:beta` |
| Latest version using project ID | `P7dR8mSH` |
Extra options
MODRINTH_DOWNLOAD_OPTIONAL_DEPENDENCIES- Required dependencies of the project will always be downloaded and optional dependencies can also be downloaded by setting this to
true. The default is "false". 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.