public class RegisterEvent extends VelocityCancellableEvent implements EventWithPlayer
Constructor and Description |
---|
RegisterEvent(com.velocitypowered.api.proxy.Player player,
java.lang.String password) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPassword()
Returns the password used.
|
com.velocitypowered.api.proxy.Player |
getPlayer()
Returns the player instance.
|
isCancelled, setCancelled
public RegisterEvent(com.velocitypowered.api.proxy.Player player, java.lang.String password)
public com.velocitypowered.api.proxy.Player getPlayer()
getPlayer
in interface EventWithPlayer
public java.lang.String getPassword()