Uses of Enum Class
com.palmergames.bukkit.towny.object.jail.JailReason
Package
Description
-
Uses of JailReason in com.palmergames.bukkit.towny.event.resident
Modifier and TypeMethodDescriptionResidentJailEvent.getJailReason()
ResidentPreJailEvent.getReason()
ModifierConstructorDescriptionResidentJailEvent
(Resident resident, JailReason reason, org.bukkit.entity.Player sender) ResidentPreJailEvent
(Resident resident, Jail jail, int cell, int hours, double bail, JailReason reason) -
Uses of JailReason in com.palmergames.bukkit.towny.object.jail
Modifier and TypeMethodDescriptionstatic JailReason
Returns the enum constant of this class with the specified name.static JailReason[]
JailReason.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of JailReason in com.palmergames.bukkit.towny.utils
Modifier and TypeMethodDescriptionstatic void
JailUtil.jailResident
(Resident resident, Jail jail, int cell, int hours, JailReason reason, org.bukkit.command.CommandSender jailer) Jails a resident.static void
JailUtil.jailResidentWithBail
(Resident resident, Jail jail, int cell, int hours, double bail, JailReason reason, org.bukkit.command.CommandSender jailer) Jails a resident.