Class ChangePasswordEvent

All Implemented Interfaces:
CancellableEvent, EventWithPlayer, org.bukkit.event.Cancellable

public class ChangePasswordEvent extends BukkitCancellableEvent implements EventWithPlayer
Event triggered when a change password operation is initiated for a player.

May be unavailable for PROXY implementations.

  • Constructor Details

  • Method Details

    • getPlayer

      @Nullable public org.bukkit.entity.Player getPlayer()
      Returns the player instance.

      It can be null if the player is offline.

      Specified by:
      getPlayer in interface EventWithPlayer
    • getPlayerId

      public UUID getPlayerId()
      Returns the player id.
      Since:
      API v7
    • getPlayerName

      public String getPlayerName()
      Returns the player name.
    • getSource

      public ChangePasswordSource getSource()
      Returns the change password source.