Package org.bukkit.event.server
Class ServerLoadEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.server.ServerEvent
org.bukkit.event.server.ServerLoadEvent
public class ServerLoadEvent extends ServerEvent
This event is called when either the server startup or reload has completed.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServerLoadEvent.LoadType
Represents the context in which the enclosing event has been completed. -
Constructor Summary
Constructors Constructor Description ServerLoadEvent(ServerLoadEvent.LoadType type)
Creates aServerLoadEvent
with a given loading type. -
Method Summary
Modifier and Type Method Description static HandlerList
getHandlerList()
HandlerList
getHandlers()
ServerLoadEvent.LoadType
getType()
Gets the context in which the server was loaded.
-
Constructor Details
-
ServerLoadEvent
Creates aServerLoadEvent
with a given loading type.- Parameters:
type
- the context in which the server was loaded
-
-
Method Details
-
getType
Gets the context in which the server was loaded.- Returns:
- the context in which the server was loaded
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-