public interface UserTrackEvent extends LuckPermsEvent, Sourced
| Modifier and Type | Method and Description |
|---|---|
@NonNull TrackAction |
getAction()
Gets the action performed
|
@NonNull Optional<String> |
getGroupFrom()
Gets the group the user was promoted/demoted from.
|
@NonNull Optional<String> |
getGroupTo()
Gets the group the user was promoted/demoted to
|
@NonNull Track |
getTrack()
Gets the track involved in the event
|
@NonNull User |
getUser()
Gets the user who was promoted or demoted
|
getApi@NonNull Track getTrack()
@NonNull User getUser()
@NonNull TrackAction getAction()
@NonNull Optional<String> getGroupFrom()
May be Optional.empty() if the user wasn't already placed on the track.