public static interface NucleusWarnEvent.Expired extends NucleusWarnEvent
Note: the Event.getCause()
will return an instance of the plugin if the cause was automatic, else it will contain the
CommandSource
expiring the warning.
NucleusWarnEvent.Expired, NucleusWarnEvent.Warned
Modifier and Type | Method and Description |
---|---|
Optional<UUID> |
getWarner()
The UUID of the entity that originally warned the user, or
Optional.empty() if the
console warned the user. |
getReason
Optional<UUID> getWarner()
Optional.empty()
if the
console warned the user.UUID
, or an empty