Class ServerLoadEvent


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

      • 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 Detail

      • getType

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

        @NotNull
        public static HandlerList getHandlerList()