Class TownTrustTownAddEvent

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

public class TownTrustTownAddEvent extends CancellableTownyEvent
  • Constructor Details

    • TownTrustTownAddEvent

      public TownTrustTownAddEvent(org.bukkit.command.CommandSender sender, Town trustTown, Town town)
  • Method Details

    • getHandlers

      @NotNull public @NotNull 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 where the town is being added as trusted.
    • getTrustedTown

      public Town getTrustedTown()
      Returns:
      The town that is being added as trusted.
    • getSender

      @NotNull public @NotNull org.bukkit.command.CommandSender getSender()