> For the complete documentation index, see [llms.txt](https://gyzer.gitbook.io/legendaryguild-english/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gyzer.gitbook.io/legendaryguild-english/plugin-installation/bungeecord-installation.md).

# 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 %}
