Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Curse mod files

HansWasser edited this page Jun 7, 2020 · 2 revisions

Downloading files from CurseForge

First of all, your file needs to end with .curse.json. Then, the format needs to be the following:

{
    "addonId": 000000,
    "fileId": 000000
}

Practical example for JEI:

{
  "addonId": 238222,
  "fileId": 2803400
}

You can retrieve the addonId from the sidebar on the project page and the fileId can be extracted from the download url. Please note that it is easy to type ID instead of Id, which will result in messages like this:

com.fasterxml.jackson.databind.exc.MismatchedInputException: Missing required creator property 'addonId' (index 0)
 at [Source: (sun.nio.ch.ChannelInputStream); line: 4, column: 1] (through reference chain: net.jan.moddirector.core.configuration.type.CurseRemoteMod["addonId"])

This feature is supported in version 1.0+

Clone this wiki locally