A tool to generate Forge Version Checker jsons based on the data on CurseForge or Modrinth.
It accepts the following options:
-p,--platform: Eithercurseormodrinth.-c,--config: A file containing project ids to generate version checker jsons for. One project id per line. Comments start with#-d,--dir,--directory: The output directory to generate the version checker in.-f,--cache: A cache file to store changelogs and version data from files, to reduce amount of requests to the API.
The version of a file is discovered by downloading it and parsing its contents. CfUpdateChecker looks for version information in this order:
- A
META-INF/neoforge.mods.tomlfile that contains exactly one mod and a version value that does not start with a dollar sign. - A
META-INF/mods.tomlfile that contains exactly one mod and a version value that does not start with a dollar sign. - A
mcmod.infofile that contains exactly one mod and a version value that does not start with a dollar sign. - A
META-INF/MANIFEST.MFfile with the propertyImplementation-Version - A
module-info.classfile that defines a module that has a version value set.