Player.disconnect

Disconnects the player from the server (from both the node and the hub). The reason can be a Translation.

  1. void disconnect(Translation reason)
  2. void disconnect(string reason)
    class Player
    void
    disconnect
    (
    string reason
    )

Parameters

reason string

reason of the disconnection

Meta