一款简单的光插件,使用 Vault 将玩家的经济账户同步到 MySQL 数据库,从而在多个服务器间构建全局经济系统。可用于同步大厅(Hub)的经济数据。
通过我们的插件 MySQL Player Data Bridge,分享更多不仅仅是经济的数据(背包、末影箱、生命值、活跃药水效果、经验值等)
功能特性
- 支持 Premium UUID 和 Offline UUID。
- 仅依赖 MySQL 数据库。
- 支持任何与 Vault 兼容的经济系统。
工作原理
该插件监听服务器加入和离开事件,通过 MySQL 数据库同步经济数据,以便在多个服务器间共享。当玩家离开/断开连接服务器时,插件会将玩家的余额上传至 MySQL 数据库。当玩家加入服务器时,插件会检查 MySQL 数据库中的账户信息,并将其同步至当前服务器的经济系统中。
依赖项
- Vault - 下载
- 任何与 Vault 兼容的经济系统
- MySQL 数据库
安装说明
- 将插件放入服务器的 plugins 文件夹中。确保已安装经济系统和 Vault。
- 启动服务器以生成配置文件,然后停止服务器。
- 打开配置文件并设置数据库连接详情。您需要先创建数据库,插件会自动在其中创建表。
- 启动服务器。完成,尽情享用。您可以同步任意数量服务器的经济账户。
本插件没有命令或权限节点。
注意!
本插件不会创建经济系统,它仅使用 Vault 来通过 MySQL 同步现有的经济系统。
它应该能与任何与 Vault 兼容的经济系统配合使用,已在 Essentials Economy 和最新版本的 Vault 上测试通过。
如果您喜欢此资源并希望捐赠以示感谢,请使用以下 PayPal 按钮。谢谢!
本插件由 CraftersLand Minecraft Community 制作。
A simple light plugin that uses Vault to sync players economy accounts to a MySQL database to create a global economy system over many servers. Can be useful to sync a hub economy.
Share more then just economy (Inventory, EnderChest, Health, Active potion effects, Experience ...) using our plugin MySQL Player Data Bridge
Features
- Premium UUID and Offline UUID support.
- MySQL Database only.
- Supports any Economy system that works with Vault.
How does it work?
It listens for server join and leave events to sync the economy over mysql database to share it over many servers. When a player leaves/disconnects a server the plugin uploads the players balance to the mysql database. When the player joins the server the plugin checks the mysql database for his account and syncs it to the server economy.
Dependencies
- Vault - Download
- Any Economy system compatible with Vault
- MySQL Database
Install instructions
- Place the plugin in the server plugins folder. Make sure you have an economy system installed and Vault.
- Start the server to generate the config, then stop the server.
- Open the config and set up the database connection details. You need to create the database, then the plugin will create the tables on it's own.
- Start the Server. Done, enjoy. You can sync as many servers economy accounts as you like.
There are no commands or permissions.
Note!
This plugin does not create an economy system, it only uses Vault to sync an existing economy system over mysql.
It should work with any economy system that is compatible with Vault, it was tested with Essentials Economy and latest Vault.
If you like this resource and want to say thank you with a donation please use this PayPal button. Thanks!
This plugin is made by CraftersLand Minecraft Community.
:) Feel free to check us out at:
评论 0
登录后参与评分
还没有评论,来抢沙发吧