# servers

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

```yaml
servers:
  type: "servers"
  enabled: true
  name: "servers"
  permission: "leaf.servers"
  order:
    - name_of_a_server
    - testing1
    - testing2
  header: '&8&m&l------&r &a&lServers &8&m&l------'
  # Placeholders registered in context of the server.
  server: '{server_formatted} &f%online% &7Online Players'
  footer: '&8&m&l---------------------'
```

{% endcode %}

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

```yaml
servers:
  type: "servers"
  enabled: true
  name: "servers"
  permission: "leaf.servers"
  order:
    - name_of_a_server
    - testing1
    - testing2
  # Placeholders registered in context of the server.
  server: 
  - "Multiple lines"
  - '{server_formatted} &f%online% &7Online Players'
```

{% endcode %}

{% code title="Example 3 (Discord Bot)" overflow="wrap" %}

```yaml
servers:
  type: "servers"
  enabled: true
  name: "servers"
  permission: "leaf.servers"
  order:
    - name_of_a_server
    - testing1
    - testing2
  header: '&8&m&l------&r &a&lServers &8&m&l------'
  # Placeholders registered in context of the server.
  server: '{server_formatted} &f%online% &7Online Players'
  footer: '&8&m&l---------------------'
  discord_bot:
    enabled: false
    allowed_channels:
      - "1150803388309712947"
    channel_not_allowed: "You cannot run this command in this channel."
    permissions:
      - ADMINISTRATOR
    no_permission: "You do not have permission to run this command."
    order:
      - name_of_a_server
      - testing1
      - testing2
    # Placeholders registered in context of the server.
    server: '**<server>** `%online%` Online Players'
    message:
      embeds:
        1:
          title:
            message: "Server List"
          description: "%list%"
```

{% endcode %}
