Class RemotePlayerJoinServerEvent

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

public class RemotePlayerJoinServerEvent extends Event
Gets called when a remote player joined a server on the network.

This does not include the local one. Keep in mind that this event is async.

  • Constructor Details

    • RemotePlayerJoinServerEvent

      public RemotePlayerJoinServerEvent(RemotePlayer player)
  • Method Details

    • getPlayer

      public RemotePlayer getPlayer()
      Gets the player that has entered a server.
      Returns:
      The involved player
    • getServer

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

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

      public static HandlerList getHandlerList()