Class PreConfigsLoadEvent

java.lang.Object
org.bukkit.event.Event
me.metallicgoat.tweaksaddon.api.events.PreConfigsLoadEvent

public class PreConfigsLoadEvent extends Event
Called directly before the plugin configuration files have are being loaded or reloaded.
  • Constructor Details

    • PreConfigsLoadEvent

      public PreConfigsLoadEvent(boolean firstLoad)
  • Method Details

    • isFirstLoad

      public boolean isFirstLoad()
      Whether this event represents the first time the configuration has been loaded.
      Returns:
      true if it was the first time the config was loaded (Plugin just enabled)
    • getHandlers

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

      public static HandlerList getHandlerList()