Class RenameResidentEvent

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

public class RenameResidentEvent extends org.bukkit.event.Event
  • Constructor Details

    • RenameResidentEvent

      public RenameResidentEvent(String oldName, 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()
    • getOldName

      public String getOldName()
      Returns:
      the old resident name.
    • getResident

      public Resident getResident()
      Returns:
      the town with it's changed name