Package org.bukkit.event.server
Class ServerLoadEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- org.bukkit.event.server.ServerEvent
-
- org.bukkit.event.server.ServerLoadEvent
-
@Deprecated public class ServerLoadEvent extends ServerEvent
Deprecated.draft APIThis 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
Deprecated.Represents the context in which the enclosing event has been completed.-
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
-
Constructor Summary
Constructors Constructor Description ServerLoadEvent(ServerLoadEvent.LoadType type)
Deprecated.Creates aServerLoadEvent
with a given loading type.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static HandlerList
getHandlerList()
Deprecated.HandlerList
getHandlers()
Deprecated.ServerLoadEvent.LoadType
getType()
Deprecated.Gets the context in which the server was loaded.-
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
-
-
-
Constructor Detail
-
ServerLoadEvent
public ServerLoadEvent(ServerLoadEvent.LoadType type)
Deprecated.Creates aServerLoadEvent
with a given loading type.- Parameters:
type
- the context in which the server was loaded
-
-
Method Detail
-
getType
public ServerLoadEvent.LoadType getType()
Deprecated.Gets the context in which the server was loaded.- Returns:
- the context in which the server was loaded
-
getHandlers
public HandlerList getHandlers()
Deprecated.- Specified by:
getHandlers
in classEvent
-
getHandlerList
public static HandlerList getHandlerList()
Deprecated.
-
-