A terminal utility that works with the modrinth api and downloads projects from there.
The main purpose of the script is to download the specified projects from modrinth.com, determines the dependencies of these projects and downloads them too.
All settings are in termmodrinth.json
. Example configuration in termmodrinth.json.example
Add the #
symbol at the beginning of the lists item to ignore it
- Projects slugs lists. Slug - project tag, used on modrinth. For example, in the address
https://modrinth.com/mod/fabric-api
the slug isfabric-api
"mods":
[
"accurate-block-placement-reborn",
"#inventorio",
"#iris",
"world-play-time"
],
"resourcepacks":
[
"3d-crops",
"3d-items-mintynoura",
"better-enchanted-book",
"#xalis-potion",
],
"shaders":
[
"bsl-shaders",
"#noble",
"shrimple",
"soft-voxels-lite"
]
"storage"
: storage path. Theactive
directories contain projects ready to be connected. It is enough to create a symbolic link of theactive
directories to the appropriate locations. For example, like this:ln -s /tmp/modrinth/resourcepacks/active ~/.minecraft/resourcepacks
"threads"
: update threads. Speeds up the download
"max_queries_per_minute"
: Maxinum API queries per minute. Modrinth limit: 300- Supported minecraft versions per project type. Order matters, script will try to download a newer one
"minecraft_versions":
{
"mods":
[
"1.20.4"
],
"resourcepacks":
[
"1.20.4",
"1.20.3",
"1.20.2",
"#1.20.1",
"#1.20",
"#1.19.2"
],
"shaders":
[
"1.20.4",
"1.20.3",
"#1.20.2"
]
}
- Supported loader per project type:
"loader":
{
"mods": "fabric",
"resourcepacks": "minecraft",
"shaders": "iris"
}
- Project dependencies types for downloading:
"request_dependencies":
[
"required",
"#optional"
]
- Download only primary files. Some projects have several files included in the release. One of them is the primary.
"primaries_only":
{
"mods": true,
"resourcepacks": false,
"shaders": true
}
- When not only primaries files downloading try not download source code archives
"try_not_download_sources":
{
"mods": true,
"resourcepacks": true,
"shaders": true
}
- Unused modrinth auth
"user":
{
"login": "",
"password": ""
}
Wait for the opportunity to work with custom lists on morinth and synchronize the project lists with them