Class KitPreExpandItemsEvent

java.lang.Object
org.bukkit.event.Event
net.essentialsx.api.v2.events.KitPreExpandItemsEvent

public class KitPreExpandItemsEvent extends Event
Called when items from a kit are about to be given to a user.

This event is not cancellable and is called right before items are about to be received by the user. If you want to prevent kits from being claimed to begin with, use the KitClaimEvent

See Also:
  • Constructor Details

  • Method Details

    • getUser

      public IUser getUser()
      Gets the user who is receiving the kit.
      Returns:
      the user.
    • getKitName

      public String getKitName()
      Gets the name of the kit the user is receiving.
      Returns:
      the name of the kit.
    • getItemStacks

      public List<ItemStack> getItemStacks()
      Returns a mutable list with items to be received by the user.
      Returns:
      the list of items.
    • getHandlers

      public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      public static HandlerList getHandlerList()