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