2.3 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/
:https://modrinth.com/mod/fabric-api ---------- | +-- project slug
Also, a specific version (or release type) can be declared adding a colon and then the version id, version number/name, or release type after the project slug. The version ID or number can be found in the 'Metadata' section. Valid release types are
release
,beta
,alpha
.To select a datapack from a Modrinth project, prefix the entry with "datapack:". When running a vanilla server, this is optional since only datapacks will be available for vanilla servers to select.
Description Example projects entry Select latest version fabric-api
Select specific version fabric-api:PbVeub96
Select latest beta version fabric-api:beta
Latest version using project ID P7dR8mSH
Latest version of datapack datapack:terralith
Specific version of datapack datapack:terralith:2.5.5
Extra options
MODRINTH_DOWNLOAD_DEPENDENCIES
- Can be set to
none
(the default),required
, oroptional
to download required and/or optional dependencies. 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 tobeta
will pick up both release and beta versions. Setting toalpha
will pick up release, beta, and alpha versions.