public class LoginEvent extends BungeeCancellableEvent implements EventWithPlayer
Constructor and Description |
---|
LoginEvent(net.md_5.bungee.api.connection.ProxiedPlayer player,
java.lang.String password) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPassword()
Returns the password used.
|
net.md_5.bungee.api.connection.ProxiedPlayer |
getPlayer()
Returns the player instance.
|
isCancelled, setCancelled
public LoginEvent(net.md_5.bungee.api.connection.ProxiedPlayer player, @Nullable java.lang.String password)
public net.md_5.bungee.api.connection.ProxiedPlayer getPlayer()
getPlayer
in interface EventWithPlayer
@Nullable public java.lang.String getPassword()