Interface UserDemoteEvent
-
- All Superinterfaces:
LuckPermsEvent,Sourced,UserTrackEvent
public interface UserDemoteEvent extends UserTrackEvent
Called when a user is demoted down a track.getAction()is alwaysTrackAction.DEMOTION
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default @NonNull TrackActiongetAction()Gets the action performed-
Methods inherited from interface net.luckperms.api.event.LuckPermsEvent
getEventType, getLuckPerms
-
Methods inherited from interface net.luckperms.api.event.user.track.UserTrackEvent
getGroupFrom, getGroupTo, getTrack, getUser
-
-
-
-
Method Detail
-
getAction
default @NonNull TrackAction getAction()
Description copied from interface:UserTrackEventGets the action performed- Specified by:
getActionin interfaceUserTrackEvent- Returns:
- the action performed
-
-