Class WrongPasswordEvent

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

public class WrongPasswordEvent extends VelocityCancellableEvent implements EventWithPlayer
Event triggered when a player enters an incorrect password at login.
  • Constructor Details

    • WrongPasswordEvent

      public WrongPasswordEvent(com.velocitypowered.api.proxy.Player player)
  • Method Details

    • getPlayer

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