Class TownyFriendlyFireTestEvent

java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.damage.TownyFriendlyFireTestEvent

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

    • TownyFriendlyFireTestEvent

      public TownyFriendlyFireTestEvent(org.bukkit.entity.Player attacker, org.bukkit.entity.Player defender, TownyWorld world)
  • Method Details

    • getHandlerList

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

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getAttacker

      public org.bukkit.entity.Player getAttacker()
    • getDefender

      public org.bukkit.entity.Player getDefender()
    • getWorld

      public TownyWorld getWorld()
    • isPVP

      public boolean isPVP()
    • setPVP

      public void setPVP(boolean pvp)
    • getCancelledMessage

      public String getCancelledMessage()
    • setCancelledMessage

      public void setCancelledMessage(String cancelledMessage)