# 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="https://2511314327-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2QS-wLzz8N7ucham-k%2F-M2QUncQ8Gcn28eSXLzG%2F-M2QV3NYz91SUQuXNLuh%2Fimmagine.png?alt=media&#x26;token=8477096f-f89d-48ab-8cbf-c632dfbc405d" 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: 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.
