Class RenameTownEvent

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

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

    • RenameTownEvent

      public RenameTownEvent(String oldName, Town town)
  • 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 town name.
    • getTown

      public Town getTown()
      Returns:
      the town with it's changed name