Deno script to update mods via the modrinth API
- Download the
index.tsscript somewhere - Create a file
modlist.txtin the same directory as theindex.ts. - Fill out the
modlist.txtfile with the Modrinth IDs of the mods you wanna update and their names (See example mod list) - Run
deno run --allow-all index.ts --version=MC_VERSION_HERE
Run deno run --allow-all index.ts --version=MC_VERSION_HERE
deno run --allow-all index.ts
--version=<mc version>
--loader=<fabric|forge|neoforge|whatever>
--modlist-file=<modlist file path>
--output-dir=<output directory path>Sets the game version the script downloads mods for, defaults to 1.21.11
Sets the mod loader the script downloads mods for, defaults to fabric
Sets the path of the modlist txt file, defaults to modlist.txt
Sets the directory the downloaded mods are placed into, defaults to mods folder inside Minecraft install location