Class PlotDeleteEvent

java.lang.Object
org.bukkit.event.Event
nl.minetopiasdb.api.events.plots.PlotDeleteEvent

public class PlotDeleteEvent extends org.bukkit.event.Event
Event thrown whenever someone deletes a plot using /delplot
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    PlotDeleteEvent(org.bukkit.entity.Player player, com.sk89q.worldguard.protection.regions.ProtectedRegion pr, org.bukkit.World world)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.event.HandlerList
     
    org.bukkit.event.HandlerList
     
    org.bukkit.entity.Player
    Get the player who executed the /plot delete command.
    com.sk89q.worldguard.protection.regions.ProtectedRegion
    Plot deleted by /plot delete
    org.bukkit.World
    The world where the plot has been deleted

    Methods inherited from class org.bukkit.event.Event

    getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PlotDeleteEvent

      public PlotDeleteEvent(org.bukkit.entity.Player player, com.sk89q.worldguard.protection.regions.ProtectedRegion pr, org.bukkit.World world)
  • Method Details

    • getPlayer

      public org.bukkit.entity.Player getPlayer()
      Get the player who executed the /plot delete command.
      Returns:
      player who deleted the plot
    • getRegion

      public com.sk89q.worldguard.protection.regions.ProtectedRegion getRegion()
      Plot deleted by /plot delete
      Returns:
      The deleted plot
    • getWorld

      public org.bukkit.World getWorld()
      The world where the plot has been deleted
      Returns:
      World where the plot was deleted
    • getHandlers

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

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