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