Class TownOutlawAddEvent

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

public class TownOutlawAddEvent extends CancellableTownyEvent
  • Constructor Details

    • TownOutlawAddEvent

      public TownOutlawAddEvent(org.bukkit.command.CommandSender sender, Resident outlawedResident, Town town)
  • Method Details

    • getTown

      public Town getTown()
      Returns:
      The town where the resident is being added as an outlaw.
    • getOutlawedResident

      public Resident getOutlawedResident()
      Returns:
      The resident that is being added as an outlaw.
    • getSender

      @NotNull public @NotNull org.bukkit.command.CommandSender getSender()
    • 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