> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zonely.gen.tr/llms.txt
> Use this file to discover all available pages before exploring further.

# 保护所有人免遭非法使用武器之害

> 网站注册的玩家不得玩出,SHA256密码散列遵守和LimboAuth MySQL连接出错.

您的账户同步 Minecraft 服务器和 Zonely 网站; AuthMe或LimboAuth插件依赖于数据库连接和加密算法的遵守.

***

## 最常被问到的问题和解决办法

> [accordion] 网站注册的玩家在游戏中收到错误的密码错误
>
> 支持请求是大多数报告的登记错误。
>
> * **为什么根:** Zonely 网络软件安全用户密码 **SHA256** 以散列算法进行总结并保存数据库。 AuthMe 插件默认默认在您的上 Minecraft 服务器 `BCRYPT`, `ARGON2` 如果剩下不同的算法使用,AuthMe无法用相同的算法验证密码,而密码给出了错误的警告.
> * **解决方案 :**
>   1. 从您的游戏服务器的文件管理器中获取 `plugins/AuthMe/config.yml` 打开文件。
>   2. `settings.security.passwordHash` 查找行和值必然是 **`SHA256`** 调整为:
>      ```yaml title="plugins/AuthMe/config.yml" theme={"theme":"css-variables"}
>      settings:
>        security:
>          passwordHash: 'SHA256'
>      ```
>   3. 与注册玩家时的电子邮件义务等领域相匹配 `userslist` 须用相表.
>   4. 游戏控制台 `/authme reload` 运行命令。

> [accordion] 林博奥特或AuthMe无法连接到远程 MySQL 数据库
>
> *"通讯连接失败"*, *连锁拒绝* 或 或 双 *"Host 'x.x.x' 不允许连接到此" MySQL 服务器( T)* 错误。
>
> * **1. MariaDB / MySQL Bind Address Configuration:**
>   您的数据库服务器只连接本地端( Y)`127.0.0.1`如果配置到听觉,则游戏从外部直接拒绝您服务器的请求.
>   * 您的服务器 `/etc/mysql/my.cnf` (或 ) 或 减 减 `mariadb.conf.d/50-server.cnf`)文件:
>     ```ini title="MySQL 配置" theme={"theme":"css-variables"}
>     bind-address = 0.0.0.0
>     ```
>     设定为并重新启动 MySQL 服务。
>
> * **2. 防火墙(第3306号港口)许可证:**
>   TCP 或 正在运行 VDS 提供者的防火墙 `3306` 保证端口对外开放.
>
> * **3. 远程用户 Authorization (`GRANT`):**
>   仅限您的数据库用户 `localhost` 用于 ? 。 您的游戏服务器的外部 IP 或所有 IP 上 MySQL 控制台( \$`%`授权:
>   ```sql title="MySQL 授权命令" theme={"theme":"css-variables"}
>   GRANT ALL PRIVILEGES ON zonely_db.* TO 'veritabani_kullanici'@'%' IDENTIFIED BY 'guclu_sifreniz';
>   FLUSH PRIVILEGES;
>   ```

> [accordion] 带有 Zonely Core 重叠的 AuthMe 插件
>
> ZonelyCore插件包括一个内部输入/相通的验证系统.
>
> * **为什么根:** 当您已经在服务器中活动 AuthMe 重新装入或 LimboAuth 时, ZonelyCore 在认证模块进入游戏或锁定会话时也会发送多条登录消息.
> * **解决方案 :**
>   1. `plugins/ZonelyCore/config.yml` 打开文件。
>   2. `auth.enabled` 参数 `false` 更改为:
>      ```yaml title="plugins/ZonelyCore/config.yml" theme={"theme":"css-variables"}
>      auth:
>        enabled: false
>      ```
>   3. 这样,认证过程完全由AuthMe管理,ZonelyCore只运行商店交付和 GUI 菜单钩。

> [accordion] 林博奥特应该如何加密和表结构?
>
> 收紧大厅/林博奥特设施 `settings.conf` 使用以下参数来匹配文件中的数据库设置 Zonely:
>
> ```hocon title="LimboAuth settings.conf" theme={"theme":"css-variables"}
> database {
>   type = "MYSQL"
>   host = "veritabani_host_adresiniz"
>   port = 3306
>   database = "zonely_veritabani_adi"
>   username = "veritabani_kullanici"
>   password = "veritabani_sifresi"
>   table = "userslist"
>   columns {
>     username = "username"
>     password = "password"
>   }
> }
> crypto {
>   hash = "SHA256"
> }
> ```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.