Class NationPreTownKickEvent

java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.CancellableTownyEvent
com.palmergames.bukkit.towny.event.nation.NationPreTownKickEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class NationPreTownKickEvent extends CancellableTownyEvent
  • Constructor Details

    • NationPreTownKickEvent

      public NationPreTownKickEvent(Nation nation, Town town)
      Cancellable event thrown when a nation kicks a town using /n kick.
      Parameters:
      nation - Nation doing the kicking.
      town - Town leaving the nation.
  • Method Details

    • getTownName

      public String getTownName()
    • getNationName

      public String getNationName()
    • getTown

      public Town getTown()
    • getNation

      public Nation getNation()
    • getHandlerList

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

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event