AbilityManager

object AbilityManager : Listener

Functions

Link copied to clipboard
fun giveAbility(player: Player, type: AbilityType<*>)
Link copied to clipboard
fun hasAbility(player: Player, type: AbilityType<*>): Boolean
Link copied to clipboard
fun Listener.registerEvents()

Shortcut for PluginManager.registerEvents, registered under the Nova plugin.

Link copied to clipboard
fun takeAbility(player: Player, ability: Ability)
fun takeAbility(player: Player, type: AbilityType<*>)
Link copied to clipboard
fun Listener.unregisterEvents()

Unregisters this Listener from all events.