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 slugAlso, 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-apiSelect specific version fabric-api:PbVeub96Select latest beta version fabric-api:betaLatest version using project ID P7dR8mSHLatest version of datapack datapack:terralithSpecific version of datapack datapack:terralith:2.5.5
Extra options
MODRINTH_DOWNLOAD_DEPENDENCIES- Can be set to
none(the default),required, oroptionalto 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 tobetawill pick up both release and beta versions. Setting toalphawill pick up release, beta, and alpha versions.