Class DeletePlayerEvent

java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.DeletePlayerEvent

public class DeletePlayerEvent extends org.bukkit.event.Event
  • Field Details

    • name

      protected final String name
    • uuid

      protected final UUID uuid
    • registered

      protected final long registered
  • Constructor Details

    • DeletePlayerEvent

      public DeletePlayerEvent(Resident resident)
  • Method Details

    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
    • getPlayerName

      public String getPlayerName()
      Returns:
      the deleted player's name.
    • getPlayerUUID

      public UUID getPlayerUUID()
      Returns:
      deleted player's uuid. Can be null.
    • getRegistered

      public long getRegistered()
      Returns:
      when the deleted player first was registered by Towny (in ms).