Class PreConfigsLoadEvent
java.lang.Object
org.bukkit.event.Event
me.metallicgoat.tweaksaddon.api.events.PreConfigsLoadEvent
Called directly before the plugin configuration files have are being loaded or reloaded.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerListbooleanWhether this event represents the first time the configuration has been loaded.Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
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:
trueif it was the first time the config was loaded (Plugin just enabled)
-
getHandlers
- Specified by:
getHandlersin classEvent
-
getHandlerList
-