Class UpdateChecker

java.lang.Object
fr.fuzeblocks.homeplugin.update.UpdateChecker

public class UpdateChecker extends Object
The type Update checker.
  • Constructor Details

    • UpdateChecker

      public UpdateChecker(org.bukkit.plugin.java.JavaPlugin plugin, int resourceId)
      Instantiates a new Update checker.
      Parameters:
      plugin - the plugin
      resourceId - the resource id
  • Method Details

    • getVersion

      public void getVersion(Consumer<String> consumer)
      Gets version.
      Parameters:
      consumer - the consumer