Class KitReloadEvent

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

public class KitReloadEvent extends org.bukkit.event.Event
Fired when kit definitions are reloaded.

Observe-only: this event cannot be cancelled.

  • Nested Class Summary

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

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

    Constructors
    Constructor
    Description
    KitReloadEvent(int kitCount, long reloadTimestamp)
    Creates a new kit reload event.
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.event.HandlerList
     
    org.bukkit.event.HandlerList
     
    int
    Returns how many kits were loaded by the reload.
    long
    Returns the reload timestamp in millis.

    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

    • KitReloadEvent

      public KitReloadEvent(int kitCount, long reloadTimestamp)
      Creates a new kit reload event.
      Parameters:
      kitCount - how many kits were loaded by the reload
      reloadTimestamp - the reload timestamp in millis
  • Method Details

    • getKitCount

      public int getKitCount()
      Returns how many kits were loaded by the reload.
      Returns:
      kit count
    • getReloadTimestamp

      public long getReloadTimestamp()
      Returns the reload timestamp in millis.
      Returns:
      reload 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()