2020-06-24 02:04:22 +00:00
|
|
|
# ModUpdater
|
|
|
|
A simple Minecraft mod updater.
|
|
|
|
|
2020-06-24 20:01:56 +00:00
|
|
|
Created For [ModFest 1.16](https://modfest.net/1.16)
|
|
|
|
|
2020-06-24 14:02:31 +00:00
|
|
|
**NOTE:** This is only able to scan mods that have opted-in!
|
|
|
|
|
2020-06-24 02:04:22 +00:00
|
|
|
## Mod Users
|
2020-06-25 13:16:27 +00:00
|
|
|
Go to the Mod Menu and click the configure icon for ModUpdater to view available updates.
|
2020-06-24 02:04:22 +00:00
|
|
|
|
|
|
|
## Mod Developers
|
2020-06-25 02:35:26 +00:00
|
|
|
Both ```fabric.mod.json``` and ```build.gradle``` must be modified to opt-in to ModUpdater.
|
2020-06-24 02:04:22 +00:00
|
|
|
|
2020-06-25 02:35:26 +00:00
|
|
|
### ```fabric.mod.json```
|
2020-06-24 02:04:22 +00:00
|
|
|
**Maven**
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"custom": {
|
|
|
|
"modupdater": {
|
|
|
|
"strategy": "maven",
|
|
|
|
"repository": "https://maven.fabricmc.net",
|
|
|
|
"group": "net.fabricmc.fabric-api",
|
|
|
|
"artifact": "fabric-api"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
**CurseForge**
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"custom": {
|
|
|
|
"modupdater": {
|
|
|
|
"strategy": "curseforge",
|
|
|
|
"projectID": 306612
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2020-06-24 18:21:26 +00:00
|
|
|
**GitHub Releases**
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"custom": {
|
|
|
|
"modupdater": {
|
|
|
|
"strategy": "github",
|
|
|
|
"owner": "Repository Owner",
|
|
|
|
"repository": "Repository Name"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2020-06-25 02:35:26 +00:00
|
|
|
### ```build.gradle```
|
2020-06-25 02:36:53 +00:00
|
|
|
Replace:
|
2020-06-24 02:18:36 +00:00
|
|
|
```gradle
|
|
|
|
version = project.mod_version
|
|
|
|
```
|
2020-06-25 02:36:53 +00:00
|
|
|
with this:
|
2020-06-24 02:18:36 +00:00
|
|
|
```gradle
|
|
|
|
version = "${project.mod_version}+${project.minecraft_version}"
|
|
|
|
```
|
|
|
|
|
2020-06-24 02:04:22 +00:00
|
|
|
## Changelog
|
2020-06-24 02:18:36 +00:00
|
|
|
[View Changelog](CHANGELOG.md)
|
|
|
|
|
|
|
|
## Credits
|
2020-06-24 18:21:26 +00:00
|
|
|
- The icon was created by ``ProspectorDev``
|
|
|
|
- The GitHub Releases strategy was written by ``AppleTheGolden``
|