PolymartPluginUpdater

Utility class for getting the latest plugin version on Polymart.

Constructors

Link copied to clipboard
public void PolymartPluginUpdater(int pluginId)
Create a new Polymart plugin updater.

Functions

Link copied to clipboard
public CheckResult check(SkyPlugin plugin)
Check if there is a new update.
Link copied to clipboard
public String parse(JsonObject object)
Parse the returned JsonObject into the latest version.
Link copied to clipboard
Get the updater platform.
Link copied to clipboard
public int pluginId()
Get the plugin id for the platform.