Class KitPostClaimEvent

java.lang.Object
org.bukkit.event.Event
net.godlycow.org.essc.api.kit.event.KitPostClaimEvent

public class KitPostClaimEvent extends org.bukkit.event.Event
Fired after a kit claim has completed successfully.

Observe-only: the claim already happened, so this event cannot be cancelled. Use it for logging, rewards or follow-up actions.

  • Nested Class Summary

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

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

    Constructors
    Constructor
    Description
    KitPostClaimEvent(org.bukkit.entity.Player player, Kit kit, long claimTimestamp)
    Creates a new post-claim event.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the claim timestamp in millis.
    static org.bukkit.event.HandlerList
     
    org.bukkit.event.HandlerList
     
    Returns the claimed kit.
    org.bukkit.entity.Player
    Returns the player that claimed.

    Methods inherited from class org.bukkit.event.Event

    callEvent, getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

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

    • KitPostClaimEvent

      public KitPostClaimEvent(org.bukkit.entity.Player player, Kit kit, long claimTimestamp)
      Creates a new post-claim event.
      Parameters:
      player - the player that claimed
      kit - the claimed kit
      claimTimestamp - the claim timestamp in millis
  • Method Details

    • getPlayer

      public org.bukkit.entity.Player getPlayer()
      Returns the player that claimed.
      Returns:
      the player
    • getKit

      public Kit getKit()
      Returns the claimed kit.
      Returns:
      the kit
    • getClaimTimestamp

      public long getClaimTimestamp()
      Returns the claim timestamp in millis.
      Returns:
      claim timestamp
    • getHandlers

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

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