Package sawfowl.commandpack.api.events
Interface KitGiveEvent
- All Superinterfaces:
Event
- All Known Subinterfaces:
KitGiveEvent.Post,KitGiveEvent.Pre
The event of giving a kit.
The event is not called when giving a kit with administrative permission.
The event is not called when giving a kit with administrative permission.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceEvent is not called if no kit has been given.static interfaceThe event will be canceled by default if the player cannot currently get a kit. -
Method Summary
Modifier and TypeMethodDescriptionlongThe time when the kit will be available to the player again.The player to whom the kit is given.kit()A kit that is given to the player.
-
Method Details
-
getPlayer
ServerPlayer getPlayer()The player to whom the kit is given. -
kit
Kit kit()A kit that is given to the player. -
getNextAllowedAccess
long getNextAllowedAccess()The time when the kit will be available to the player again.
-