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

Suggestion: fileName for CurseForge files #21

Open
Krutoy242 opened this issue Nov 16, 2021 · 0 comments
Open

Suggestion: fileName for CurseForge files #21

Krutoy242 opened this issue Nov 16, 2021 · 0 comments

Comments

@Krutoy242
Copy link

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?

ACGaming added a commit to TerraFirmaCraft-The-Final-Frontier/FileDirector that referenced this issue Mar 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant