Class PlotCreateEvent

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

public class PlotCreateEvent extends org.bukkit.event.Event
Event thrown when someone creates a plot using /padd
  • Nested Class Summary

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

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

    Constructors
    Constructor
    Description
    PlotCreateEvent​(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 create command.
    com.sk89q.worldguard.protection.regions.ProtectedRegion
    Plot created by /plot create
    org.bukkit.World
    The world where the plot has been created

    Methods inherited from class org.bukkit.event.Event

    getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

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

    • PlotCreateEvent

      public PlotCreateEvent(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 create command.
      Returns:
      player who created the plot
    • getRegion

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

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

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

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