Class WrongPasswordEvent
java.lang.Object
org.bukkit.event.Event
com.nickuc.login.api.event.internal.bukkit.BukkitEvent
com.nickuc.login.api.event.internal.bukkit.BukkitCancellableEvent
com.nickuc.login.api.event.bukkit.auth.WrongPasswordEvent
- All Implemented Interfaces:
CancellableEvent
,EventWithPlayer
,org.bukkit.event.Cancellable
Event triggered when a player enters an incorrect password at login.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.entity.Player
Returns the player instance.Methods inherited from class com.nickuc.login.api.event.internal.bukkit.BukkitCancellableEvent
isCancelled, setCancelled
Methods inherited from class com.nickuc.login.api.event.internal.bukkit.BukkitEvent
getHandlerList, getHandlers
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
WrongPasswordEvent
public WrongPasswordEvent(org.bukkit.entity.Player player)
-
-
Method Details
-
getPlayer
public org.bukkit.entity.Player getPlayer()Returns the player instance.- Specified by:
getPlayer
in interfaceEventWithPlayer
-