Package de.marcely.bedwars.api.event
Class ConfigsLoadEvent
java.lang.Object
org.bukkit.event.Event
de.marcely.bedwars.api.event.ConfigsLoadEvent
Called when the configurations of the plugin got loaded.
 
 This always gets called after the plugin started or when someone performed a reload.
 Do NOT use this as an alternative for BedwarsAPI.onReady(Runnable).
- 
Nested Class SummaryNested classes/interfaces inherited from class org.bukkit.event.EventEvent.Result
- 
Constructor SummaryConstructorsConstructorDescriptionConfigsLoadEvent(@Nullable CommandSender initiator, Duration time, boolean isStartup) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic HandlerList@Nullable CommandSenderReturns the initiator of the load event.getTime()Returns the time it took to load the configurations from 0 to complete in milliseconds.booleanReturns whether this event is being executed for the first time due to the loading that occured with starting up the plugin.Methods inherited from class org.bukkit.event.EventgetEventName, isAsynchronous
- 
Constructor Details- 
ConfigsLoadEventpublic ConfigsLoadEvent(@Nullable @Nullable CommandSender initiator, Duration time, boolean isStartup) 
 
- 
- 
Method Details- 
getInitiatorReturns the initiator of the load event.It may be nullwhen it was started programmatically.- Returns:
- The sender that initiated the loading
 
- 
getTimeReturns the time it took to load the configurations from 0 to complete in milliseconds.- Returns:
- Returns the duration it took to load the configs in milliseconds.
 
- 
isStartuppublic boolean isStartup()Returns whether this event is being executed for the first time due to the loading that occured with starting up the plugin.- Returns:
- truewhen it got called because the plugin finished loading all configs during the start up sequence
 
- 
getHandlers- Specified by:
- getHandlersin class- Event
 
- 
getHandlerList
 
-