Package net.luckperms.api.event.group
Interface GroupDeleteEvent
-
- All Superinterfaces:
LuckPermsEvent
public interface GroupDeleteEvent extends LuckPermsEvent
Called when a group is deleted
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NonNull DeletionCausegetCause()Gets the cause of the deletion@NonNull Set<Node>getExistingData()Gets an immutable copy of the groups existing data@NonNull StringgetGroupName()Gets the name of the deleted group-
Methods inherited from interface net.luckperms.api.event.LuckPermsEvent
getEventType, getLuckPerms
-
-
-
-
Method Detail
-
getGroupName
@NonNull String getGroupName()
Gets the name of the deleted group- Returns:
- the name of the deleted group
-
getExistingData
@NonNull Set<Node> 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
-
-