Class LoginEvent
java.lang.Object
com.nickuc.login.api.event.internal.velocity.VelocityCancellableEvent
com.nickuc.login.api.event.velocity.auth.LoginEvent
- All Implemented Interfaces:
CancellableEvent
,EventWithPlayer
Event triggered when a player finishes authentication via login.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the password used.com.velocitypowered.api.proxy.Player
Returns the player instance.Methods inherited from class com.nickuc.login.api.event.internal.velocity.VelocityCancellableEvent
isCancelled, setCancelled
-
Constructor Details
-
LoginEvent
-
-
Method Details
-
getPlayer
public com.velocitypowered.api.proxy.Player getPlayer()Returns the player instance.- Specified by:
getPlayer
in interfaceEventWithPlayer
-
getPassword
Returns the password used.- Returns:
- null if the password was not provided.
- Since:
- API v5
-