Class RegisterEvent
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.RegisterEvent
- All Implemented Interfaces:
CancellableEvent
,EventWithPlayer
,net.md_5.bungee.api.plugin.Cancellable
Event triggered when a player registers on the server.
-
Constructor Summary
ConstructorsConstructorDescriptionRegisterEvent
(net.md_5.bungee.api.connection.ProxiedPlayer player, String password) -
Method Summary
Modifier and TypeMethodDescriptionReturns the password used.net.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
-
RegisterEvent
-
-
Method Details
-
getPlayer
public net.md_5.bungee.api.connection.ProxiedPlayer getPlayer()Returns the player instance.- Specified by:
getPlayer
in interfaceEventWithPlayer
-
getPassword
Returns the password used.- Since:
- API v5
-