> For the complete documentation index, see [llms.txt](https://bivashy.gitbook.io/mc-auth/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bivashy.gitbook.io/mc-auth/english-1/english/first-installation/setting-up-servers.md).

# Setting up servers

On this page, you will learn about game servers and authentication servers, as well as how to configure and specify them in the config.yml configuration file.

First, you need to configure the servers to which players will be directed when the authentication process starts and after it is completed.\
\
For this edit `config.yml` like this:\
&#x20;`auth-servers:`\
&#x20;   `- <Auth server name>`\
&#x20;`game-servers:`\
&#x20;   `- <Game server name>`

### If you do not want or are unable to create an authentication server, what should you do?

If you don't have an authentication server or the ability to create one, you can use plugins that create a limbo or waiting area, such as [`NanoLimboPlugin`](https://www.spigotmc.org/resources/nanolimboplugin.105297/).

### How to get server name

{% tabs %}
{% tab title="BungeeCord" %}

1. Open folder with `BungeeCord.jar`, then find `config.yml` and open it
2. Find section **servers** *(Usually it is at the end of config)***:**\
   `...`\
   `servers:`\
   &#x20;   **`first`**`:`\
   &#x20;       `...`\
   &#x20;   **`second`**`:`\
   &#x20;       `...`
3. In that example we have 2 server: **first** and **second,** find your server name, and copy to somewhere
   {% endtab %}

{% tab title="Velocity" %}

1. Open folder with `Velocity.jar`, then find `velocity.toml` and open it
2. Find section **servers:**\
   **`...`**\
   `[servers]`\
   &#x20;    **`first`**` ``= ...`\
   &#x20;    **`second`**` ``= ...`
3. In that example we have 2 server: **first** and **second,** find your server name, and copy to somewhere
   {% endtab %}
   {% endtabs %}

### Setting up auth and game servers to `config.yml`

Just enter your server names to `config.yml`. For example: \
&#x20;  **first** - authorization server\
&#x20;   **second** - game server\
&#x20;And result would be in `config.yml`:\
`...`\
`auth-servers:`\
&#x20;   `- first`\
`game-servers:`\
&#x20;   `- second`\
`...`
