feat: 添加 load-player-info-filter 配置选项

This commit is contained in:
2024-02-24 16:38:31 +08:00
parent 53c582eb4d
commit 68ba097033
11 changed files with 100 additions and 70 deletions

View File

@@ -56,6 +56,7 @@ public class BallBungeeCordAPI extends BallAPI {
config.getBoolean("debug", false),
config.getString("channel-prefix", "") + ":",
config.getBoolean("game-server-update-player-info", false),
config.getStringList("load-player-info-filter"),
serverInfo,
datasource
);

View File

@@ -14,6 +14,10 @@ channel-prefix: ""
# 则可以启用该功能以防止 UUID 紊乱的问题
game-server-update-player-info: false
# 服务器在启动时只会从数据库中加载 proxy_server 为下列的字符串的玩家信息
load-player-info-filter:
"BungeeCord"
# 本服务器信息
server-info:
# 服务器唯一识别码,最长 32 字符