Package dev.plex.util

Class UpdateChecker

java.lang.Object
dev.plex.util.UpdateChecker
All Implemented Interfaces:
PlexBase

public class UpdateChecker extends Object implements PlexBase
  • Field Details

  • Constructor Details

    • UpdateChecker

      public UpdateChecker()
  • Method Details

    • fetchDistanceFromGitHub

      private int fetchDistanceFromGitHub(@Nonnull String repo, @Nonnull String branch, @Nonnull String hash)
    • getUpdateStatusMessage

      public boolean getUpdateStatusMessage(org.bukkit.command.CommandSender sender, boolean cached, int verbosity)
    • updateJar

      public void updateJar(org.bukkit.command.CommandSender sender)