The distribution attribute of a mod information file allows you to notify players of every update to your mod.
Example Distribution Attribute Snippet
- UpdatesController (Required attribute): The update controller that should be handling the checks and showing update notifications. The built-in update controller is named "NeonOcean".
- UpdatesFileURL (Required attribute): A URL link leading to a file that tells the update controller whether or not an update to your mod has been released. More information on this file will be listed further down this page.
- DownloadURL (Optional attribute): A URL may send the player to if they elect to update your mod when prompted. This URL should be used when a stable update has been released. If this attribute is not used, the player should simply be told an update is available, with no link provied.
- PreviewDownloadURL (Optional attribute): A URL may send the player to if they elect to update your mod when prompted. This URL should be used when a preview update has been released. If this attribute is not used, we will send them to the download URL instead.
Updates files are used by updates controllers to determine whether or not a mod is out of date.
Example Updates File
This is an example that works with the built-in update controller. If the release number or preview number is greater than the current version number, the player will be notified of the update.