Class MiniGamePlayerJoinEvent
java.lang.Object
org.bukkit.event.Event
com.minigameworld.events.minigame.MiniGameEvent
com.minigameworld.events.minigame.player.MiniGamePlayerEvent
com.minigameworld.events.minigame.player.MiniGamePlayerJoinEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public class MiniGamePlayerJoinEvent
extends MiniGamePlayerEvent
implements org.bukkit.event.Cancellable
Called when a player try to join a minigame
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionMiniGamePlayerJoinEvent(MiniGame minigame, org.bukkit.entity.Player player)
-
Method Summary
Methods inherited from class com.minigameworld.events.minigame.player.MiniGamePlayerEvent
getPlayer
Methods inherited from class com.minigameworld.events.minigame.MiniGameEvent
getHandlerList, getHandlers, getMiniGame, toString
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
MiniGamePlayerJoinEvent
-
-
Method Details
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean cancelled)- Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-