A tool to downloads mods, shaders, resourcepacks, and more automatically, so you don't have to do it manually!
Note
Requires Bun as runtime.
# Option #1: Clone From GitHub
git clone https://github.com/DmmDGM/gsmc-pack
cd gsmc-pack
bun i
bun . --help# Option #2: Download From NPM
bun add -g gsmc-pack
gsmc-pack --help# Option #3: Execute from NPM
bunx gsmc-pack --helpbunx gsmc-pack [path-to-file] [--flags...]| Short | Long | Description |
|---|---|---|
-d |
--directory {path-to-dir} |
Specifies a directory as the output directory. |
-f |
--file {path-to-file} |
Specifies a .jsonc file as the input file. |
-P |
--check-peers |
Checks for peers in addition to the origin list. |
-C |
--clean |
Deletes the output direct to simulate a fresh start. |
(Takes effect only if --test flag is disabled.) |
||
(Effectively enables --force flag.) |
||
-M |
--dot-minecraft |
Places files in a .minecraft-like structure. |
-E |
--elaborate |
Makes extra requests to give more details about an error. |
(Takes effect only if --verbose flag is enabled.) |
||
-F |
--force |
Packs files even if they already exist. |
-h |
--help |
Prints this help menu. |
-I |
--ignore-warnings |
Ignores all warnings. |
-N |
--nyaa |
Nyaa~! :3 |
-T |
--test |
Performs a dummy run but does not download the actual files. |
(Effectively enables --force flag.) |
||
-V |
--verbose |
Prints more information about an error. |
-v |
--version |
Prints the current version of gsmc-pack. |
-
Create a
pack.jsoncin your local directory. -
Insert an array of
originsinside the file, each line in the following format:$TARGET;download;$TYPE;$URL$TARGET;modrinth;$PLATFORM;$VERSION
-
Run
bunx gsmc-pack.
[ // Examples "fabric-api;modrinth;fabric;1.21.5", "travelersbackpack;modrinth;fabric;1.21.5", "complementary-reimagined;modrinth;iris;1.21.5", "default-dark-mode;modrinth;minecraft;1.21.5", "tech-reborn;download;mod;https://github.com/TechReborn/TechReborn/releases/download/5.13.4/TechReborn-5.13.4.jar" // Note: You can also find this in the example.jsonc file. ]