public interface Warning extends TimedEntry
Modifier and Type | Method and Description |
---|---|
Instant |
getDate()
When the warning was issued.
|
String |
getReason()
The reason for the warning.
|
Optional<UUID> |
getWarner()
The
UUID of the player who issued the warning, or Optional.empty() if it was the console. |
boolean |
isExpired()
Whether the warning has expired.
|
expired, getRemainingTime, isCurrentlyTicking
Optional<UUID> getWarner()
UUID
of the player who issued the warning, or Optional.empty()
if it was the console.String getReason()
boolean isExpired()
true
if so.