A simple Minecraft mod updater.
Go to file
TheBrokenRail 9c9f759ab5 Improve Documentation 2020-06-28 15:03:20 -04:00
gradle/wrapper Initial Commit 2020-06-23 22:04:22 -04:00
src/main Reformat COde 2020-06-28 13:43:17 -04:00
.gitignore Initial Commit 2020-06-23 22:04:22 -04:00
CHANGELOG.md 1.1.4 2020-06-27 19:22:04 -04:00
Jenkinsfile Add Jenkinsfile 2020-06-23 22:21:54 -04:00
LICENSE Initial Commit 2020-06-23 22:04:22 -04:00
README.md Improve Documentation 2020-06-28 15:03:20 -04:00
build.gradle 1.0.9 2020-06-24 23:50:02 -04:00
gradle.properties 1.1.4 2020-06-27 19:22:04 -04:00
gradlew Initial Commit 2020-06-23 22:04:22 -04:00
gradlew.bat Initial Commit 2020-06-23 22:04:22 -04:00
settings.gradle Initial Commit 2020-06-23 22:04:22 -04:00

README.md

ModUpdater

A simple Minecraft mod updater.

Created For ModFest 1.16

NOTE: This is only able to scan mods that have opted-in!

Mod Users

Go to the Mod Menu and click the configure icon for ModUpdater to view available updates.

Mod Developers

Both fabric.mod.json and build.gradle must be modified to opt-in to ModUpdater.

fabric.mod.json

Maven

{
    "custom": {
        "modupdater": {
            "strategy": "maven",
            "repository": "https://maven.fabricmc.net",
            "group": "net.fabricmc.fabric-api",
            "artifact": "fabric-api"
        }
    }
}

CurseForge

{
    "custom": {
        "modupdater": {
            "strategy": "curseforge",
            "projectID": 306612
        }
    }
}

GitHub Releases

{
    "custom": {
        "modupdater": {
            "strategy": "github",
            "owner": "Repository Owner",
            "repository": "Repository Name"
        }
    }
}

build.gradle

To properly detect the version of a file, the Minecraft version must be appended to the file name.

Replace:

version = project.mod_version

with your preferred format's code from the table below:

Format Example Code
<VERSION>+<MC-VERSION> (recommended) thing-1.0.0+1.16.1.jar version = "${project.mod_version}+${project.minecraft_version}"
<VERSION>-<MC-VERSION> thing-1.0.0-1.16.1.jar version = "${project.mod_version}-${project.minecraft_version}"
<VERSION>+<MC-MAJOR> thing-1.0.0-1.16.jar version = "${project.mod_version}+${project.minecraft_major_version}"
<VERSION>-<MC-MAJOR> thing-1.0.0-1.16.jar version = "${project.mod_version}-${project.minecraft_major_version}"

When using a format using the Minecraft major version (specified as <MC-MAJOR>), minecraft_mjaor_version must be specified in gradle.properties, for instance minecraft_major_version = 1.16.

Changelog

View Changelog

Credits

  • The icon was created by ProspectorDev
  • The GitHub Releases strategy was written by AppleTheGolden