# Настройка Geyser

{% hint style="info" %}
Советую воспользоваться [конфигуратором ](https://geysermc.org/utilities/config_editor)от Geyser, так вы сможете перевести функции с помощью перевода страницы, а также будете понимать что и где проще.
{% endhint %}

### 1. Скачиваем Geysermc и Floodgate.&#x20;

Ниже приведены ссылки на последнюю версию скачивания Geysermc и floodgate.&#x20;

<table><thead><tr><th width="380">Тип сервера</th><th>Geyser плагин</th><th>Floodgate</th></tr></thead><tbody><tr><td>Spigot | Paper | Purpur и остальные их форки</td><td><a href="https://download.geysermc.org/v2/projects/geyser/versions/latest/builds/latest/downloads/spigot">Скачать</a></td><td><a href="https://download.geysermc.org/v2/projects/floodgate/versions/latest/builds/latest/downloads/spigot">Скачать</a></td></tr><tr><td>Bungeecord</td><td><a href="https://download.geysermc.org/v2/projects/geyser/versions/latest/builds/latest/downloads/bungeecord">Скачать</a></td><td><a href="https://download.geysermc.org/v2/projects/floodgate/versions/latest/builds/latest/downloads/bungee">Скачать</a></td></tr><tr><td>Fabric</td><td><a href="https://download.geysermc.org/v2/projects/geyser/versions/latest/builds/latest/downloads/fabric">Скачать</a></td><td><a href="https://modrinth.com/mod/floodgate">Скачать</a></td></tr><tr><td>Velocity</td><td><a href="https://download.geysermc.org/v2/projects/geyser/versions/latest/builds/latest/downloads/velocity">Скачать</a></td><td><a href="https://download.geysermc.org/v2/projects/floodgate/versions/latest/builds/latest/downloads/velocity">Скачать</a></td></tr><tr><td>Отдельный сервер (standalone)</td><td><a href="https://download.geysermc.org/v2/projects/geyser/versions/latest/builds/latest/downloads/standalone">Скачать</a></td><td>---------</td></tr><tr><td>NeoForge</td><td><a href="https://download.geysermc.org/v2/projects/geyser/versions/latest/builds/latest/downloads/neoforge">Скачать</a></td><td>---------</td></tr><tr><td>ViaProxy</td><td><a href="https://download.geysermc.org/v2/projects/geyser/versions/latest/builds/latest/downloads/viaproxy">Скачать</a></td><td>---------</td></tr></tbody></table>

{% hint style="info" %}
После скачивания обоих плагинов для вашей версии загрузите их в папку plugins вашего сервера, и перезапустите сервер для создания конфигурации.
{% endhint %}

### 2. Создание портов.

Для настройки прокси вам необходимо минимум два порта. Один будет для вашего основного сервера, второй для подключения с Bedrock издания Minecraft. Создаем порт так:&#x20;

1. Заходим во вкладку `Порты`
2. Нажимаем `Создать порт.`
3. Копируем выданный нам новый порт. У него должна отсутствовать пометка `Основной`

<figure><img src="/files/G3deE441ayNDOk0VPYGg" alt=""><figcaption><p>Шаги для создания порта</p></figcaption></figure>

Порт создан, переходим к настройке

### 3. Настройка GeyserMC

Заходим в конфиг GeyserMC, по пути `plugins/geyser-Ваш тип/config.yml`.&#x20;

Выполняем 3 настройки:

1. Раздел `Bedrock`, поле Port меняем на скопированный ранее дополнительный порт

<figure><img src="/files/HfuG05V9kqvFE1Y8uHzp" alt=""><figcaption><p>Изменение порта на свой</p></figcaption></figure>

2. Раздел `Remote`:

* `auth-type: floodgate`
* `allow-password-authentication: false`

<figure><img src="/files/XnM7e2VEnjRCYhxojxkx" alt=""><figcaption><p>Изменение типа авторизации.</p></figcaption></figure>

Это фундаментальные настройки. Вы также можете настроить показ Motd вверху или максимум игроков с bedrock чуть ниже. Нажимаем сохранить содержимое, и заходим в файл `plugins/floodgate/config.yml`. Там изменяем `username-prefix: ""`. Это необязательно, однако поможет не отличать bedrock игроков. Этот параметр добавляет указанный префикс к никнейму игроков с bedrock

<figure><img src="/files/nhv6wiPZDVQaAWUOme5X" alt=""><figcaption><p>Floodgate конфигурация</p></figcaption></figure>

&#x20;Сохраняем файл, и перезапускаем сервер. Теперь вы можете зайти на сервер по под. домену и дополнительному порту. Например e1.veroid.net и порт 25886.

{% hint style="success" %}
Гейзер настроен успешно. Приятной игры.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.veroid.net/wiki/minecraft/guides/geysermc.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
