YiC200333 / XConomy

An economy plugin that supports data synchronization between multiple servers
GNU General Public License v3.0
92 stars 32 forks source link

关于BC同步的BUG #95

Closed sk-1024 closed 1 year ago

sk-1024 commented 1 year ago

Version of XConomy
XConomy V2.22.1

Server version
paper-1.19.2-307

Storage-type
SQLite

BC端版本 waterfall-1.19-526

经济类插件 EssentialX Vault 都没有同步功能

BC端下子服务器数量 1

Describe the issues
启动时报错: [16:43:53] [Server thread/WARN]: [XConomy] SQLite文件路径设置错误 [16:43:53] [Server thread/WARN]: [XConomy] BungeeCord同步未开启 sight.yml中BungeeCord设置项已开启,疑似是BUG

相关日志:

[16:43:52] [Server thread/INFO]: [XConomy] Enabling XConomy v2.22.1 [16:43:52] [Server thread/INFO]: [XConomy] UUID-Mode: Default [16:43:52] [Server thread/INFO]: [XConomy] Language: CHINESE [16:43:52] [Server thread/INFO]: [XConomy] 数据保存方式 - SQLite [16:43:53] [Server thread/INFO]: [XConomy] SQLite连接正常 [16:43:53] [Server thread/INFO]: [XConomy] XConomy加载成功 [16:43:53] [Server thread/INFO]: [XConomy] 发现 PlaceholderAPI [16:43:53] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: xconomy [2.22.1] [16:43:53] [Server thread/INFO]: [XConomy] PlaceholderAPI successfully hooked [16:43:53] [Server thread/WARN]: [XConomy] SQLite文件路径设置错误 [16:43:53] [Server thread/WARN]: [XConomy] BungeeCord同步未开启

(option)XConomy's config.yml

如果账户名称中包含有白名单中的字段,该账户将被识别为非玩家账户

否则则识别为玩家账户

如果玩家名称中包含有白名单中的字段, 该玩家将被拒绝进入服务器.

该功能可以减少从数据库读取数据的次数

whitelist:

是否启用白名单

enable: false
fields-list:
  - tax
  - nation-

货币的显示

Currency: singular-name: dollar plural-name: dollars

余额是否为整数

integer-bal: false thousands-separator: ','

%format_balance% 表示格式化后的金额

display-format: '%balance% %currencyname%'

最大金额 (默认为最大值)

max-number: '10000000000000000' format-balance: 10000: 万 100000000: 亿

数据同步设置

SyncData:

是否启用数据同步

enable: true

BungeeCord Redis

================================================== BungeeCord Channel ==================================================

BC同步开启后,控制台和其他插件将无法在服务器无人的情况下修改金额

需要在spigot.yml中设置bungeecord为true

================================================== Redis Channel ==================================================

需要'slf4j'前置

channel-type: BungeeCord

服务器标识,请保持需要同步的子服务器的标识和数据库的设置一致

sign: aa

YiC200333 commented 1 year ago

你在database.yml中设置sqlite的保存路径了吗?