public interface Kit
| Modifier and Type | Method and Description |
|---|---|
boolean |
equip(org.bukkit.entity.Player player)
Equips the
Player with the contents of this kit. |
org.bukkit.inventory.ItemStack |
getDisplayed()
The item displayed in the kit selector gui.
|
java.lang.String |
getName()
The name of this kit.
|
boolean |
isArenaSpecific()
Whether or not this kit has arenaSpecific enabled.
|
boolean |
isRemoved()
Whether or not this
Kit has been removed. |
boolean |
isUsePermission()
Whether or not this kit requires a permission.
|
void |
setArenaSpecific(boolean arenaSpecific)
Enables or disables arenaSpecific for this kit.
|
void |
setUsePermission(boolean usePermission)
Enables or disables usePermission for this kit.
|
@NotNull java.lang.String getName()
String that is the name of this kit.@NotNull org.bukkit.inventory.ItemStack getDisplayed()
boolean isUsePermission()
void setUsePermission(boolean usePermission)
usePermission - True to enable usePermission. False otherwise.boolean isArenaSpecific()
void setArenaSpecific(boolean arenaSpecific)
arenaSpecific - True to enable arenaSpecific. False otherwise.boolean equip(@NotNull
org.bukkit.entity.Player player)
Player with the contents of this kit.
Note: Calls KitEquipEvent.player - Player to equip this kit.Player has successfully equipped this kit. False otherwise.boolean isRemoved()
Kit has been removed.Kit has been removed. False otherwise.KitManager.remove(CommandSender, String)