# BungeeCord Installation

{% tabs %}
{% tab title="Step 1" %}

* Put the plugin into the plugins of **each sub server** that needs to be synchronized and restart the server to load the plugin
  {% endtab %}

{% tab title="Step 2" %}
Open `config.yml` in the **LegendaryGuild folder** of each sub server

* Change the data storage method to `MYSQL` and configure the database.&#x20;

```
Store: SQLite
Mysql:
  address: localhost
  port: 3306
  database: test
  user: root
  password: 123456
```

* Enable `Cross_ Server` *(cross server synchronization function)* option and select the server below Name is configured as the current name of the sub server

```
settings:
  #跨服模式 数据将会同步各个子服务器
  #Cross server mode data will be synchronized with each sub server
  Cross_Server:
    enable: false
    #该子服的名称（需与Bungeecord端的config下设定的一致）
    # The name of the sub server (must be consistent with the config.yml set in Bungerecord)
    server_name: 主服务器
```

* Restart each sub server.
  {% endtab %}
  {% endtabs %}


---

# 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://gyzer.gitbook.io/legendaryguild-english/plugin-installation/bungeecord-installation.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.
