SkyLib
1.1.1
SkyLib
/
de.skyslycer.skylib.updater
/
PluginUpdater
Plugin
Updater
public
abstract
class
PluginUpdater
Utility class for checking plugin versions.
Functions
Inheritors
Functions
check
Link copied to clipboard
public
CheckResult
check
(
SkyPlugin
plugin
)
Check if there is a new update.
parse
Link copied to clipboard
public
abstract
String
parse
(
JsonObject
object
)
Parse the returned JsonObject into the latest version.
platform
Link copied to clipboard
public
PluginPlatform
platform
(
)
Get the updater platform.
plugin
Id
Link copied to clipboard
public
int
pluginId
(
)
Get the plugin id for the platform.
Inheritors
SpigotPluginUpdater
Link copied to clipboard
PolymartPluginUpdater
Link copied to clipboard