public static interface NucleusJailEvent.Jailed extends NucleusJailEvent
NucleusJailEvent.Jailed, NucleusJailEvent.Unjailed
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.time.Duration> |
getDuration()
How long the player is jailed for.
|
java.lang.String |
getJailName()
The name of the jail the player is sent to.
|
org.spongepowered.api.text.Text |
getReason()
The reason for the jailing.
|
java.lang.String getJailName()
java.util.Optional<java.time.Duration> getDuration()
Duration
, if applicable.org.spongepowered.api.text.Text getReason()