Package dev.kitteh.factions.event
Class FPlayerJoinEvent
java.lang.Object
org.bukkit.event.Event
dev.kitteh.factions.event.FactionEvent
dev.kitteh.factions.event.FactionPlayerEvent
dev.kitteh.factions.event.FPlayerJoinEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
@NullMarked
public class FPlayerJoinEvent
extends FactionPlayerEvent
implements org.bukkit.event.Cancellable
Event called when an FPlayer joins a Faction.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the reason the player joined the faction.booleanbooleanvoidsetCancelled(boolean c) Methods inherited from class dev.kitteh.factions.event.FactionPlayerEvent
getFPlayerMethods inherited from class dev.kitteh.factions.event.FactionEvent
getFaction, getHandlerList, getHandlersMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
FPlayerJoinEvent
-
-
Method Details
-
isCancellable
public boolean isCancellable() -
getReason
Get the reason the player joined the faction.- Returns:
- reason player joined the faction.
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean c) - Specified by:
setCancelledin interfaceorg.bukkit.event.Cancellable
-