Class NationAddTownEvent

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

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

    • NationAddTownEvent

      public NationAddTownEvent(Town town, Nation nation)
  • 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()
    • getTown

      public Town getTown()
      Returns:
      the town who has joined a nation.
    • getNation

      public Nation getNation()
      Returns:
      the nation the town has just joined.