gpt4 book ai didi

java - Minecraft BungeeCord/MySQL 服务器

转载 作者:行者123 更新时间:2023-11-29 15:50:40 28 4
gpt4 key购买 nike

我正在开发一个带有 MySQL 数据库的 Minecraft 服务器来处理所有玩家权限(排名、姓名等)。我使用bungeecord作为代理进行托管,并尝试将以下插件链接到数据库中,以便它们在服务器范围内使用。这样我就不必为网络上的每台服务器复制粘贴一堆配置。我让 LuckPerms 可以使用我的 SQL 数据库,但我的 BungeeCord 控制台出现以下错误:

11:34:56 [SEVERE] Wed Jun 26 11:34:56 EDT 2019 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.

有人知道如何用 BungeeCord 解决这个问题吗?

最佳答案

找到解决方法了!对于 future 的任何人,luckperms config.yml 中有一个properties: 部分。转到它并添加两行。应该看起来像这样

    properties:
useUnicode: true
characterEncoding: utf8
useSSL: false
verifyServerCertificate: false
allowPublicKeyRetrieval: true

关于java - Minecraft BungeeCord/MySQL 服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56776643/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com