Class RemoteServerConnectEvent

java.lang.Object
org.bukkit.event.Event
de.marcely.bedwars.api.event.remote.RemoteServerConnectEvent

public class RemoteServerConnectEvent extends Event
Gets called whenever we successfully connected with another server.

Keep in mind that this event is async.

  • Constructor Details

    • RemoteServerConnectEvent

      public RemoteServerConnectEvent(RemoteServer server)
  • Method Details

    • getServer

      public RemoteServer getServer()
      Gets the server that has connected.
      Returns:
      The involved server
    • getHandlers

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

      public static HandlerList getHandlerList()