Package net.luckperms.api.event.log
Interface LogBroadcastEvent
-
- All Superinterfaces:
Cancellable,LuckPermsEvent
public interface LogBroadcastEvent extends LuckPermsEvent, Cancellable
Called when a log entry is about to be sent to notifiable players on the platform
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classLogBroadcastEvent.OriginRepresents where a log entry is from
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NonNull ActiongetEntry()Gets the log entry to be broadcasted@NonNull LogBroadcastEvent.OrigingetOrigin()Gets where the log entry originated from.-
Methods inherited from interface net.luckperms.api.event.type.Cancellable
cancellationState, isCancelled, isNotCancelled, setCancelled
-
Methods inherited from interface net.luckperms.api.event.LuckPermsEvent
getEventType, getLuckPerms
-
-
-
-
Method Detail
-
getEntry
@NonNull Action getEntry()
Gets the log entry to be broadcasted- Returns:
- the log entry to be broadcasted
-
getOrigin
@NonNull LogBroadcastEvent.Origin getOrigin()
Gets where the log entry originated from.- Returns:
- the origin of the log
-
-