TerraFirmaCraft-The-Final-Frontier / FileDirector

Automated mod/file downloading.
https://www.curseforge.com/minecraft/mc-mods/filedirector
MIT License
8 stars 5 forks source link

There is a way to specify if a mod client side or server side? #8

Closed quentin452 closed 1 year ago

quentin452 commented 1 year ago

To only download the mod on server side or client side

Lylythii commented 1 year ago

Yup! Something like this should work.

{
    "curse":
    [
        {
            "addonId": 000000,
            "fileId": 000000,
            "metadata": {
                "side": "CLIENT"
            }
        }
    ]
}
quentin452 commented 1 year ago

and for an url by example? i just need to do this?

{
    "url": "https://github.com/Scherso/NotSoEssential/releases/download/v1.0.3/NotSoEssential-Forge-1.0.3.jar",
    "side": "CLIENT"
}
Lylythii commented 1 year ago

This should work fine.

{
    "url": "https://github.com/Scherso/NotSoEssential/releases/download/v1.0.3/NotSoEssential-Forge-1.0.3.jar",
    "metadata": {
        "side": "CLIENT"
    }
}