# Bungee, Proxy

RageMode supports cross-server communication for Bungeecord networks. When enabled, players can join to games when they enter a specific server, and quit to one of available lobby server after game end.

{% hint style="info" %}
Make sure RageMode is installed for both Bungee and Paper servers for communication between servers.
{% endhint %}

## Settings reference

#### Target servers

```yml
target-servers:
- lobby
- hub
```

The names of the bungee servers from which players will be teleported to one of the online servers at the end of each game.

In case if you do not have a game created on the server, players will be teleported back to the lobby server.

If you don't have any lobby server, you need to remove these servers from this list to teleport players to the last known location.

#### Game finding list

```yml
game-finding-list: []
```

Game search list, when a player connects to the server, which game to teleport to, if it is not possible to join to the first, it will try the second (cycling search).

In case if the player can not join to any game, they will be teleported back to the lobby server.

Leave it empty if you want to teleport players to the first game every time.

If the player is unable to join to the first game, they will try the others listed, but if they fail, the player will be returned to the lobby server.

#### Random join

```yml
random-join: false
```

If enabled, players will join to random games on server join if `game-finding-list` option is empty.

The behaviour of this option is same as `game-finding-list`, if the player is unable to join to the selected game, they will try the others, but if they fail, the player will be returned to the lobby server.


---

# 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://mdswork.gitbook.io/ragemode-docs/bungee-proxy.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.
