Class KitPvPPlusAPI

java.lang.Object
wtf.nucker.kitpvpplus.api.KitPvPPlusAPI

public abstract class KitPvPPlusAPI extends Object
  • Constructor Details

    • KitPvPPlusAPI

      public KitPvPPlusAPI()
  • Method Details

    • getInstance

      public static KitPvPPlusAPI getInstance()
      Returns:
      instance of the API
    • registerAbility

      public abstract void registerAbility(Ability ability)
      Registers a custom ability to the server
      Parameters:
      ability - API instance of the ability you are registering **MAKE SURE YOUR ID DOES NOT CONFLICT WITH ANY OTHER ABILITIES
    • getKitManager

      public abstract KitManager getKitManager()
      Returns:
      the servers kit manager
    • getLocationsManager

      public abstract LocationsManager getLocationsManager()
      Returns:
      the servers locations manager
    • getLeaderboardManager

      public abstract LeaderboardManager getLeaderboardManager()
      Returns:
      the server's leaderboard manager
    • getConfigManager

      public abstract ConfigManager getConfigManager()
      Returns:
      the servers config manager
    • getPlayerData

      public abstract PlayerData getPlayerData(UUID uuid)
      Parameters:
      uuid - the uuid of the player your trying to get an instance of
      Returns:
      that player's playerdata instance
    • getAllPlayerData

      public abstract List<PlayerData> getAllPlayerData()
      Returns:
      all the playerdata on the server
    • getPlayerData

      public abstract PlayerData getPlayerData(org.bukkit.OfflinePlayer player)
      Parameters:
      player - the name of the player your trying to get an instance of
      Returns:
      that player's playerdata instance