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