Config Type: Bundle - TerraFirmaCraft-The-Final-Frontier/FileDirector GitHub Wiki
Downloading multiple files
With this config type, you can bundle multiple mods or files in one JSON file.
First of all, your config file needs to end with .bundle.json
.
Then, the format needs to be the following for multiple Curse mods:
{
"curse":
[
{
"addonId": 000000,
"fileId": 000000
},
{
"addonId": 111111,
"fileId": 111111
}
]
}
Or for multiple raw downloads:
{
"url":
[
{
"url": "https://mymod.com/download/mod.jar"
},
{
"url": "https://mymod.com/download/another_mod.jar"
}
]
}
Or even both:
{
"curse":
[
{
"addonId": 000000,
"fileId": 000000
},
{
"addonId": 111111,
"fileId": 111111
}
],
"url":
[
{
"url": "https://mymod.com/download/mod.jar"
},
{
"url": "https://mymod.com/download/another_mod.jar"
}
]
}
Working example for both:
{
"curse":
[
{
"addonId": 272514,
"fileId": 2920596,
"fileName": "zz_DankNull.jar"
},
{
"addonId": 637540,
"fileId": 4398759
}
],
"url":
[
{
"url": "https://github.com/ModCoderPack/MCPMappingsArchive/raw/master/mcp_stable/39-1.12/mcp_stable-39-1.12.zip",
"folder": "mappings",
"installationPolicy":
{
"extract": false,
"downloadAlways": true
}
}
]
}
As you can see, keys (parameters) from the .curse.json
/.url.json
file types such as installationPolicy
can still be applied.
Find out more about them here:
- https://github.com/Janrupf/mod-director/wiki/Curse-mod-files
- https://github.com/Janrupf/mod-director/wiki/Raw-downloads
- https://github.com/TerraFirmaCraft-The-Final-Frontier/FileDirector/wiki/Additional-Keys
This feature is supported in version 1.6.0+