Class RegisterEvent

java.lang.Object
com.nickuc.login.api.event.internal.velocity.VelocityCancellableEvent
com.nickuc.login.api.event.velocity.auth.RegisterEvent
All Implemented Interfaces:
CancellableEvent, EventWithPlayer

public class RegisterEvent extends VelocityCancellableEvent implements EventWithPlayer
Event triggered when a player registers on the server.
  • Constructor Details

    • RegisterEvent

      public RegisterEvent(com.velocitypowered.api.proxy.Player player, String password)
  • Method Details

    • getPlayer

      public com.velocitypowered.api.proxy.Player getPlayer()
      Returns the player instance.
      Specified by:
      getPlayer in interface EventWithPlayer
    • getPassword

      public String getPassword()
      Returns the password used.
      Since:
      API v5