diff --git a/example/README.md b/example/README.md new file mode 100644 index 0000000..2511004 --- /dev/null +++ b/example/README.md @@ -0,0 +1,14 @@ +# Examples + +## Version 1 + +Very basic. +Only allows you to specify a version, which MUST be 1, +A title for cosmetic purposes, +The Minecraft version, +The release channel to be used, +The mods to be downloaded, in a key:value, where key is the name, value is the modrinth project id. + +See as an example. + +Simply run `/path/to/main.js -f pack-v1.json -d output` and your mods will be downloaded. Enjoy! diff --git a/example/pack-v1.json b/example/pack-v1.json new file mode 100644 index 0000000..76e575f --- /dev/null +++ b/example/pack-v1.json @@ -0,0 +1,13 @@ +{ + "version": 1, + "name": "My casual mod collection.", + "minecraft": "1.21", + "channel": "stable", + "mods": { + "Fabric API": "P7dR8mSH", + "Sodium": "AANobbMI", + "Lithium": "gvQqBUqZ", + "No Chat Reports": "qQyHxfxd", + "No Telemetry": "hg77g4Pw" + } +}