Package net.luckperms.api.event.group
Interface GroupDeleteEvent
- All Superinterfaces:
LuckPermsEvent
Called when a group is deleted
-
Method Summary
Modifier and TypeMethodDescriptiongetCause()Gets the cause of the deletionGets an immutable copy of the groups existing dataGets the name of the deleted groupMethods inherited from interface net.luckperms.api.event.LuckPermsEvent
getEventType, getLuckPerms
-
Method Details
-
getGroupName
Gets the name of the deleted group- Returns:
- the name of the deleted group
-
getExistingData
Gets an immutable copy of the groups existing data- Returns:
- a copy of the groups existing data
-
getCause
@NonNull DeletionCause getCause()Gets the cause of the deletion- Returns:
- the cause of the deletion
-