Class UpdateChecker

java.lang.Object
dev.majek.hexnicks.util.UpdateChecker

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

    • 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 Details

    • isAheadOfSpigot

      public boolean isAheadOfSpigot()
    • isBehindSpigot

      public boolean isBehindSpigot()
    • isSpigotLatest

      public boolean isSpigotLatest()