Class UpdateChecker


  • public class UpdateChecker
    extends Object
    Used to check for plugin updates from the Spigot plugin page.
    • Constructor Detail

      • UpdateChecker

        public UpdateChecker​(org.bukkit.plugin.java.JavaPlugin plugin,
                             int resourceId)
        Construct a new update checker.
        Parameters:
        plugin - The main class of the plugin.
        resourceId - Plugin's resource id on Spigot.
    • Method Detail

      • isAheadOfSpigot

        public boolean isAheadOfSpigot()
      • isBehindSpigot

        public boolean isBehindSpigot()
      • isSpigotLatest

        public boolean isSpigotLatest()