Class ServerLoadEvent


public class ServerLoadEvent extends ServerEvent
This event is called when either the server startup or reload has completed.
  • Constructor Details Link icon

    • ServerLoadEvent Link icon

      public ServerLoadEvent(@NotNull ServerLoadEvent.LoadType type)
      Creates a ServerLoadEvent with a given loading type.
      Parameters:
      type - the context in which the server was loaded
  • Method Details Link icon

    • getType Link icon

      @NotNull public ServerLoadEvent.LoadType getType()
      Gets the context in which the server was loaded.
      Returns:
      the context in which the server was loaded
    • getHandlers Link icon

      @NotNull public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList Link icon

      @NotNull public static HandlerList getHandlerList()