Player.transfer

Transfers a player to given server and port if the client has the functionality to do so. Calling this method will not disconnect the player immediately.

  1. void transfer(Node node)
  2. void transfer(string ip, ushort port)
    class Player
    void
    transfer
    (
    string ip
    ,
    ushort port
    )

Parameters

ip string

ip of the server, it could be either numeric of an hostname

port ushort

port of the server

Throws

Exception if the client doesn't support the transfer functionality

Meta