> For the complete documentation index, see [llms.txt](https://smuddgge.gitbook.io/leaf-3.0.1/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://smuddgge.gitbook.io/leaf-3.0.1/commands/other-types/join.md).

# join

Sends a player to a server.

{% code title="Example" overflow="wrap" %}

```yaml
join:
  type: "join"
  enabled: false
  name: "survival"
  # The name of the server to send the player to.
  # When multiple servers are listed, the server
  # with the least amount of players is where the
  # player will be sent.
  # This can also be set as a string.
  # server: "hub"
  server:
  - "survival1"
  - "survival2"
  # If there are no servers online.
  no_server: "{error_colour}This server is offline"
```

{% endcode %}
