Class ClaimGiveEvent

  • All Implemented Interfaces:
    org.bukkit.event.Cancellable

    public class ClaimGiveEvent
    extends org.bukkit.event.Event
    implements org.bukkit.event.Cancellable
    Represents an event that is called when a claim is given to a player. This specifically represents an event where a player is given a claim via a command. This ignores the following... - A player has run out of inventory space and the plugin automatically gives the player a claim - A player has left midway through an animation cycle - Any other additional handling that is not explicit.
    • Constructor Detail

      • ClaimGiveEvent

        public ClaimGiveEvent​(Claim claim)
    • Method Detail

      • getClaim

        public Claim getClaim()
      • isCancelled

        public boolean isCancelled()
        Specified by:
        isCancelled in interface org.bukkit.event.Cancellable
      • setCancelled

        public void setCancelled​(boolean cancelled)
        Specified by:
        setCancelled in interface org.bukkit.event.Cancellable
      • getHandlers

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

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