Class ServerLoadEvent


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

    • ServerLoadEvent

      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

    • getType

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

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

      @NotNull public static HandlerList getHandlerList()