> For the complete documentation index, see [llms.txt](https://gyzer.gitbook.io/legendaryguild/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/cha-jian-an-zhuang/qun-zu-fu-an-zhuang-jiao-cheng.md).

# 群组服安装教程

{% tabs %}
{% tab title="步骤一" %}

* 将插件放入需要同步的 **各个** 子服务器的 *plugins* 下并重启服务器加载插件
  {% endtab %}

{% tab title="步骤二" %}
打开 **各个** 子服务器 **LegendaryGuild** 文件夹下的 **config.yml**

* 将数据存储方法更改为 MYSQL 并配置好数据库.&#x20;

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

* 启用 Cross\_Server *<mark style="color:blue;">(跨服同步功能)</mark>* 选项并在下方的 **server\_name** 配置为当前该子服务器的名称

```
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: 主服务器
```

* 重启各个子服务器.
  {% endtab %}
  {% endtabs %}
