Package wtf.nucker.kitpvpplus.api
Class KitPvPPlusAPI
java.lang.Object
wtf.nucker.kitpvpplus.api.KitPvPPlusAPI
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract List<PlayerData>
abstract ConfigManager
static KitPvPPlusAPI
abstract KitManager
abstract LeaderboardManager
abstract LocationsManager
abstract PlayerData
getPlayerData(UUID uuid)
abstract PlayerData
getPlayerData(org.bukkit.OfflinePlayer player)
abstract void
registerAbility(Ability ability)
Registers a custom ability to the server
-
Constructor Details
-
KitPvPPlusAPI
public KitPvPPlusAPI()
-
-
Method Details
-
getInstance
- Returns:
- instance of the API
-
registerAbility
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
- Returns:
- the servers kit manager
-
getLocationsManager
- Returns:
- the servers locations manager
-
getLeaderboardManager
- Returns:
- the server's leaderboard manager
-
getConfigManager
- Returns:
- the servers config manager
-
getPlayerData
- Parameters:
uuid
- the uuid of the player your trying to get an instance of- Returns:
- that player's playerdata instance
-
getAllPlayerData
- Returns:
- all the playerdata on the server
-
getPlayerData
- Parameters:
player
- the name of the player your trying to get an instance of- Returns:
- that player's playerdata instance
-