How to make updates (UMM)

From Nexus Mods Wiki
Jump to: navigation, search
Upload a new version of your mod on dropbox or github.
Create a json file and similarly specify the new version and url to your update. Or just specify the version, then the manager will simply announce the update available.
{
    "Releases":
    [
        {"Id": "FastTravel", "Version": "1.3.2", "DownloadUrl": "https://www.dropbox.com/s/z7mopgzesva8kms/FastTravel.zip?dl=1"}
    ]
}

Upload json file to hosting.
Add the Repository line to the modinfo file and specify the url to this json file. 

{
  "Id": "FastTravel",
  "DisplayName": "FastTravel",
  "Author": "newman55",
  "Version": "1.3.1",
  "EntryMethod": "FastTravel.Main.Load",
  "HomePage": "https://www.nexusmods.com/pathfinderkingmaker/mods/1",
  "Repository": "https://raw.githubusercontent.com/newman55/unity-mods/master/kingmaker/Repository.json"
}

All urls must be available for direct download.
Now a game will have the icon on the availability of updates, and the manager will be available update menu.

umm.jpg