public class FPlayerLeaveEvent extends FactionPlayerEvent implements org.bukkit.event.Cancellable
Modifier and Type | Class and Description |
---|---|
static class |
FPlayerLeaveEvent.PlayerLeaveReason |
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) |
getfPlayer
getFaction, getHandlerList, getHandlers
public FPlayerLeaveEvent(FPlayer p, Faction f, FPlayerLeaveEvent.PlayerLeaveReason r)
public FPlayerLeaveEvent.PlayerLeaveReason getReason()
public boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public void setCancelled(boolean c)
setCancelled
in interface org.bukkit.event.Cancellable