Class WrongPasswordEvent
java.lang.Object
com.nickuc.login.api.event.internal.velocity.VelocityCancellableEvent
com.nickuc.login.api.event.velocity.auth.WrongPasswordEvent
- All Implemented Interfaces:
CancellableEvent
,EventWithPlayer
Event triggered when a player enters an incorrect password at login.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.velocitypowered.api.proxy.Player
Returns the player instance.Methods inherited from class com.nickuc.login.api.event.internal.velocity.VelocityCancellableEvent
isCancelled, setCancelled
-
Constructor Details
-
WrongPasswordEvent
public WrongPasswordEvent(com.velocitypowered.api.proxy.Player player)
-
-
Method Details
-
getPlayer
public com.velocitypowered.api.proxy.Player getPlayer()Returns the player instance.- Specified by:
getPlayer
in interfaceEventWithPlayer
-