Class KitClaimEvent

java.lang.Object
org.bukkit.event.Event
fr.mathildeuh.youneedme.api.event.YnmPlayerEvent
fr.mathildeuh.youneedme.api.event.KitClaimEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class KitClaimEvent extends YnmPlayerEvent implements org.bukkit.event.Cancellable
Fired after eligibility checks (permission/cooldown/max-claims) pass, before items are given.
  • Constructor Details

    • KitClaimEvent

      public KitClaimEvent(org.bukkit.entity.Player player, Kit kit)
  • Method Details

    • getKit

      public Kit getKit()
    • isCancelled

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

      public void setCancelled(boolean cancel)
      Specified by:
      setCancelled in interface org.bukkit.event.Cancellable
    • 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()