SpigotPluginUpdater

public class SpigotPluginUpdater extends PluginUpdater

Utility class for getting the latest plugin version on Spigot.

Constructors

Link copied to clipboard
public void SpigotPluginUpdater(int pluginId)
Create a new Spigot 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.