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

Suggestion: fileName for CurseForge files #21

@Krutoy242

Description

@Krutoy242

In my pack, /Dank/Null mod should load after other mods, so i need to rename it.

I though i could load it with mod director and option fileName:

{
    "addonId": 272514,
    "fileId": 2920596,
    "fileName": "zz_DankNull.jar"
}

But got an error:

[20:16:45] [main/ERROR] [ModDirector[CORE]]: ============================================================
[20:16:45] [main/ERROR] [ModDirector[CORE]]: Summary of 1 encountered errors:
[20:16:45] [main/ERROR] [ModDirector[CORE]]: Failed to open a configuration for reading
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "fileName" (class net.jan.moddirector.core.configuration.type.CurseRemoteMod), not marked as ignorable (7 known properties: "inject", "fileId", "addonId", "installationPolicy", "options", "metadata", "folder"])
 at [Source: (sun.nio.ch.ChannelInputStream); line: 5, column: 2] (through reference chain: net.jan.moddirector.core.configuration.type.CurseRemoteMod["fileName"])
	at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:61) ~[mod-director-launchwrapper-1.5.1-SNAPSHOT-all.jar:1.5.1-SNAPSHOT]

Could you add support for "fileName" for .curse.json, or i should use .url.json somehow?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions