public class FPlayerLeaveEvent extends FactionPlayerEvent implements org.bukkit.event.Cancellable
| Modifier and Type | Class and Description |
|---|---|
static class |
FPlayerLeaveEvent.PlayerLeaveReason |
fPlayer
| Constructor and Description |
|---|
FPlayerLeaveEvent(FPlayer p,
Faction f,
FPlayerLeaveEvent.PlayerLeaveReason r) |
| Modifier and Type | Method and Description |
|---|---|
FPlayerLeaveEvent.PlayerLeaveReason |
getReason()
Get the reason the player left the faction.
|
boolean |
isCancelled() |
void |
setCancelled(boolean c) |
getfPlayergetFaction, getHandlerList, getHandlerspublic FPlayerLeaveEvent(FPlayer p, Faction f, FPlayerLeaveEvent.PlayerLeaveReason r)
public FPlayerLeaveEvent.PlayerLeaveReason getReason()
public boolean isCancelled()
isCancelled in interface org.bukkit.event.Cancellablepublic void setCancelled(boolean c)
setCancelled in interface org.bukkit.event.Cancellable