Class WrongPasswordEvent
java.lang.Object
net.md_5.bungee.api.plugin.Event
com.nickuc.login.api.event.internal.bungee.BungeeEvent
com.nickuc.login.api.event.internal.bungee.BungeeCancellableEvent
com.nickuc.login.api.event.bungee.auth.WrongPasswordEvent
- All Implemented Interfaces:
CancellableEvent
,EventWithPlayer
,net.md_5.bungee.api.plugin.Cancellable
Event triggered when a player enters an incorrect password at login.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.md_5.bungee.api.connection.ProxiedPlayer
Returns the player instance.Methods inherited from class com.nickuc.login.api.event.internal.bungee.BungeeCancellableEvent
isCancelled, setCancelled
Methods inherited from class net.md_5.bungee.api.plugin.Event
callEvent, postCall
-
Constructor Details
-
WrongPasswordEvent
public WrongPasswordEvent(net.md_5.bungee.api.connection.ProxiedPlayer player)
-
-
Method Details
-
getPlayer
public net.md_5.bungee.api.connection.ProxiedPlayer getPlayer()Returns the player instance.- Specified by:
getPlayer
in interfaceEventWithPlayer
-