> For the complete documentation index, see [llms.txt](https://andrei1058.gitbook.io/bedwarsproxy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://andrei1058.gitbook.io/bedwarsproxy/master.md).

# Gettings Started

## Installation

BedWarsProxy is a plugin that can be installed on lobby/ hub servers. Do **not** install it on arena servers.

1. Copy the `BedWarsProxy.jar` in the plugins folder and restart your server.
2. Open config.yml and set your desired port that will be used to receive data from the arenas.\
   This **mustn't** be the same as the port from server.properties.
3. Still in config.yml, insert your database credentials to sync bed-wars statistics from arenas.
4. Restart the lobby server.
5. Go on each bed-wars arena and open `plugins/BedWars1058/config.yml`.\
   a. Here add the lobby server where you've installed BedWarsProxy, under `lobby-sockets`.\
   Like this: \ <img src="/files/-M2QV3NYz91SUQuXNLuh" alt="" data-size="original"> \
   The server IP and the port from *BedWarsProxy/config.yml*.\
   **This is not the server port.**\
   b. Still in this config, set the `server-id` to match the server from bungeecord's config.\
   c. Set `serverType` to BUNGEE.
6. Restart your arenas and enjoy.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://andrei1058.gitbook.io/bedwarsproxy/master.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.
