Class UpdateChecker

java.lang.Object
me.despical.commons.util.UpdateChecker

public final class UpdateChecker extends Object
A utility class to assist in checking for updates for plugins uploaded to SpigotMC. Before any members of this class are accessed, init(JavaPlugin, int) must be invoked by the plugin.

This class performs asynchronous queries to SpiGet, an REST server which is updated periodically. If the results of requestUpdateCheck() are inconsistent with what is published on SpigotMC, it may be due to SpiGet's cache. Results will be updated in due time.

Author:
Despical and Parker Hawke