EzEconomy 是一款现代、快速且灵活的 Minecraft 服务器 Vault 经济插件。支持 YML、MySQL、SQLite、MongoDB 以及自定义存储方式。具备多货币、异步缓存和完善的权限系统,适用于各种规模的服务器。经测试,其速度比其他流行的经济插件快多达 50 倍。

可用语言: English, Español, Nederlands, 中国人, Français
★ 核心经济功能
EzEconomy 专为高性能、灵活性和易用性而构建。亮点包括:
- 兼容 Vault API:可与任何基于 Vault 的插件配合使用
- YML、MySQL、SQLite、MongoDB 或自定义存储:灵活且面向生产环境的存储选项
- 线程安全:强大的错误处理与并发控制
- 多货币支持:可选,按玩家设置,完全可配置
- 异步缓存:针对大型服务器进行优化
- 全面的命令:
/balance、/eco、/baltop、/bank、/pay、/currency
- 细粒度权限:支持按命令和按银行操作分别设置权限
⚡ 命令
- /balance:查看您的余额
- /balance <player>:查看其他玩家的余额 (
ezeconomy.balance.others)
- /eco <give|take|set> <player> <amount>:管理员控制 (
ezeconomy.eco)
- /eco gui:显示余额 GUI
- /baltop [amount]:显示余额排行榜
- /bank <create|delete|balance|deposit|withdraw|addmember|removemember|info> ...:银行管理 (
ezeconomy.bank.*)
- /pay <player> <amount>:向其他玩家转账 (
ezeconomy.pay)
- /currency [currency]:设置或查看您偏好的货币 (
ezeconomy.currency)
- /ezeconomy cleanup:移除孤立的数据 (
ezeconomy.admin)
- /ezeconomy daily reset:重置所有每日奖励 (
ezeconomy.admin)
- /ezeconomy reload:重新加载插件配置 (
ezeconomy.admin)
- /ezeconomy reload messages:仅重新加载消息文件 (
ezeconomy.admin)
- /ezeconomy database info:显示数据库连接信息 (
ezeconomy.admin)
- /ezeconomy database test:测试数据库连接 (
ezeconomy.admin)
- /ezeconomy database reset:重置所有数据库表(危险)(
ezeconomy.admin)
- /tax:已移除 —— 税收功能已移至 EzTax ()
?️ 权限
-
ezeconomy.balance.others:查看其他玩家的余额
-
ezeconomy.eco:使用 /eco 管理员命令
-
ezeconomy.pay:使用 /pay 命令
-
ezeconomy.currency:使用 /currency 命令
-
ezeconomy.admin:使用 /ezeconomy 管理员命令(清理、重载、数据库、每日重置)
-
银行权限:
ezeconomy.bank.create:创建新银行
ezeconomy.bank.delete:删除银行
ezeconomy.bank.balance:查看银行余额
ezeconomy.bank.deposit:向银行存款
ezeconomy.bank.withdraw:从银行取款
ezeconomy.bank.addmember:添加成员到银行
ezeconomy.bank.removemember:从银行移除成员
ezeconomy.bank.info:查看银行信息
ezeconomy.bank.admin:所有银行管理员操作
⚙️ 配置示例
config.yml(仅全局设置):
storage: yml
multi-currency:
enabled: false
default: "dollar"
currencies:
dollar:
display: "Dollar"
symbol: "$"
decimals: 2
euro:
display: "Euro"
symbol: "€"
decimals: 2
# 税收配置已从 EzEconomy 中移除并移至 EzTax。
# EzTax on Modrinth: https://modrinth.com/plugin/eztax
conversion:
dollar:
euro: 0.95
gem: 0.01
euro:
dollar: 1.05
gem: 0.012
gem:
dollar: 100
euro: 80
config-yml.yml(YML 存储设置):
yml:
file: balances.yml
per-player-file-naming: uuid
data-folder: data
config-mysql.yml(MySQL 存储设置):
mysql:
host: localhost
port: 3306
database: ezeconomy
username: root
password: password
table: balances
config-sqlite.yml(SQLite 存储设置):
sqlite:
file: ezeconomy.db
table: balances
banksTable: banks
config-mongodb.yml(MongoDB 存储设置):
mongodb:
uri: mongodb://localhost:27017
database: ezeconomy
collection: balances
banksCollection: banks
⬇️ 安装
- 将
EzEconomy.jar 放入您的 plugins 文件夹
- 配置
config.yml 以及适合您存储类型的 config-*.yml 文件
- 重启服务器
? 集成
- EzEconomy 会自动注册为 Vault 提供商
- 无需为兼容 Vault 的插件进行额外设置
- PlaceholderAPI 支持:
- 在聊天、计分板和其他插件中使用占位符:
%ezeconomy_balance% – 您的余额
%ezeconomy_balance_<currency>% – 特定货币下的您的余额(例如 %ezeconomy_balance_euro%)
%ezeconomy_bank_<bank>% – 特定银行的余额
%ezeconomy_top_1% – 排名第一的玩家余额(将 1 替换为排名)
%ezeconomy_currency% – 您偏好的货币
- 适用于所有兼容 PlaceholderAPI 的插件
?️ 开发者:自定义存储提供商
EzEconomy 支持自定义存储后端(YML、MySQL、SQLite、MongoDB 或您自己的方案)!您可以为任何数据库或存储系统实现自己的提供商。
如何添加自定义提供商:
- 在您的插件或模块中实现
StorageProvider 接口。
- 在 EzEconomy 加载之前注册您的提供商:
EzEconomy.registerStorageProvider(new YourProvider(...));
- 只能注册一个提供商。如果已设置,EzEconomy 将使用它而不是默认的 YML/MySQL。
- 有关所需方法和实现细节,请参阅 完整的 StorageProvider 参考文档。
这允许你使用 SQLite、MongoDB、Redis 或其他任何系统来存储玩家余额和银行数据!
性能基准测试
经济基准测试结果摘要
| 插件 |
版本 |
存储方式 |
Redis |
状态 |
运行时间 (秒) |
存款平均耗时 (毫秒) |
取款平均耗时 (毫秒) |
查询/拥有平均耗时 (毫秒) |
平均内存占用 (MiB) |
内存峰值 (MiB) |
相对于 EzEconomy 基线的倍数 |
| essentialsx |
2.21.1 |
文件 |
关闭 |
正常 |
1.021 |
0.483072 |
0.276326 |
0.005248 |
465.76 |
466.50 |
N/A |
| ezeconomy |
3.1.2 |
mysql |
关闭 |
正常 |
0.090 |
0.008794 |
0.007697 |
0.004436 |
415.20 |
415.50 |
1.00x 存款 |
| ezeconomy |
3.1.2 |
mysql |
开启 |
正常 |
0.098 |
0.012991 |
0.008751 |
0.004505 |
405.67 |
406.02 |
1.48x 存款 |
| ezeconomy |
3.1.2 |
sqlite |
关闭 |
正常 |
0.034 |
0.008090 |
0.003718 |
0.003299 |
420.58 |
420.78 |
1.00x 存款 |
| ezeconomy |
3.1.2 |
sqlite |
开启 |
正常 |
0.036 |
0.007114 |
0.004541 |
0.003127 |
447.34 |
447.37 |
0.88x 存款 |
| xconomy |
2.26.3 |
mysql |
关闭 |
正常 |
0.547 |
0.164429 |
0.129993 |
0.191681 |
465.28 |
467.52 |
18.70x 存款 |
| xconomy |
2.26.3 |
sqlite |
关闭 |
正常 |
0.290 |
0.109194 |
0.061594 |
0.080283 |
428.20 |
430.39 |
13.50x 存款 |
银行操作基准测试结果
| 插件 |
版本 |
存储方式 |
Redis |
状态 |
运行时间 (秒) |
银行存款平均耗时 (毫秒) |
银行取款平均耗时 (毫秒) |
银行查询/拥有平均耗时 (毫秒) |
平均内存占用 (MiB) |
内存峰值 (MiB) |
| essentialsx |
2.21.1 |
文件 |
关闭 |
跳过(该经济提供商不支持 Vault 银行 API) |
N/A |
N/A |
N/A |
N/A |
N/A |
N/A |
| ezeconomy |
3.1.2 |
mysql |
关闭 |
正常 |
3.330 |
1.225967 |
1.153788 |
0.567417 |
449.95 |
458.75 |
| ezeconomy |
3.1.2 |
mysql |
开启 |
正常 |
3.090 |
1.122824 |
1.078041 |
0.516253 |
440.06 |
448.27 |
| ezeconomy |
3.1.2 |
sqlite |
关闭 |
正常 |
2.126 |
0.960253 |
0.838308 |
0.061351 |
463.86 |
469.28 |
| ezeconomy |
3.1.2 |
sqlite |
开启 |
正常 |
1.864 |
0.827309 |
0.747836 |
0.064934 |
490.66 |
496.37 |
| xconomy |
2.26.3 |
mysql |
关闭 |
跳过(该经济提供商不支持 Vault 银行 API) |
N/A |
N/A |
N/A |
N/A |
N/A |
N/A |
| xconomy |
2.26.3 |
sqlite |
关闭 |
跳过(该经济提供商不支持 Vault 银行 API) |
N/A |
N/A |
N/A |
N/A |
N/A |
N/A |
❓ 支持
? 相关插件

EzEconomy is a modern, fast, and flexible Vault economy provider for Minecraft servers. Supports YML, MySQL, SQLite, MongoDB, and custom storage. Multi-currency, async caching, and robust permissions for any server size. Proven to be to 50x faster then other populair economy plugins.

Available languages: English, Español, Nederlands, 中国人, Français
★ Our key economy features
EzEconomy is built for performance, flexibility, and ease of use. Highlights include:
- Vault API compatible: Works with any Vault-based plugin
- YML, MySQL, SQLite, MongoDB, or custom storage: Flexible, production-ready storage options
- Thread-safe: Robust error handling and concurrency
- Multi-currency support: Optional, per-player, fully configurable
- Async caching: Optimized for large servers
- Comprehensive commands:
/balance, /eco, /baltop, /bank, /pay, /currency
- Granular permissions: Per-command and per-bank action
⚡ Commands
- /balance: View your balance
- /balance <player>: View another player's balance (
ezeconomy.balance.others)
- /eco <give|take|set> <player> <amount>: Admin control (
ezeconomy.eco)
- /eco gui: Show balance GUI
- /baltop [amount]: Show top balances
- /bank <create|delete|balance|deposit|withdraw|addmember|removemember|info> ...: Bank management (
ezeconomy.bank.*)
- /pay <player> <amount>: Pay another player (
ezeconomy.pay)
- /currency [currency]: Set or view your preferred currency (
ezeconomy.currency)
- /ezeconomy cleanup: Remove orphaned player data (
ezeconomy.admin)
- /ezeconomy daily reset: Reset all daily rewards (
ezeconomy.admin)
- /ezeconomy reload: Reload plugin configuration (
ezeconomy.admin)
- /ezeconomy reload messages: Reload only the message file (
ezeconomy.admin)
- /ezeconomy database info: Show database connection info (
ezeconomy.admin)
- /ezeconomy database test: Test the database connection (
ezeconomy.admin)
- /ezeconomy database reset: Reset all database tables (DANGEROUS) (
ezeconomy.admin)
- /tax: Removed — tax functionality moved to EzTax ()
?️ Permissions
-
ezeconomy.balance.others: View other players' balances
-
ezeconomy.eco: Use /eco admin command
-
ezeconomy.pay: Use /pay command
-
ezeconomy.currency: Use /currency command
-
ezeconomy.admin: Use /ezeconomy admin commands (cleanup, reload, database, daily reset)
-
Bank Permissions:
ezeconomy.bank.create: Create a new bank
ezeconomy.bank.delete: Delete a bank
ezeconomy.bank.balance: View bank balance
ezeconomy.bank.deposit: Deposit to a bank
ezeconomy.bank.withdraw: Withdraw from a bank
ezeconomy.bank.addmember: Add a member to a bank
ezeconomy.bank.removemember: Remove a member from a bank
ezeconomy.bank.info: View bank info
ezeconomy.bank.admin: All bank admin actions
⚙️ Configuration Example
config.yml (Only global settings):
storage: yml
multi-currency:
enabled: false
default: "dollar"
currencies:
dollar:
display: "Dollar"
symbol: "$"
decimals: 2
euro:
display: "Euro"
symbol: "€"
decimals: 2
# Tax configuration has been removed from EzEconomy and moved to EzTax.
# EzTax on Modrinth: https://modrinth.com/plugin/eztax
conversion:
dollar:
euro: 0.95
gem: 0.01
euro:
dollar: 1.05
gem: 0.012
gem:
dollar: 100
euro: 80
config-yml.yml (YML storage settings):
yml:
file: balances.yml
per-player-file-naming: uuid
data-folder: data
config-mysql.yml (MySQL storage settings):
mysql:
host: localhost
port: 3306
database: ezeconomy
username: root
password: password
table: balances
config-sqlite.yml (SQLite storage settings):
sqlite:
file: ezeconomy.db
table: balances
banksTable: banks
config-mongodb.yml (MongoDB storage settings):
mongodb:
uri: mongodb://localhost:27017
database: ezeconomy
collection: balances
banksCollection: banks
⬇️ Installation
- Place
EzEconomy.jar in your plugins folder
- Configure
config.yml and the appropriate config-*.yml file for your storage type
- Restart your server
? Integration
- EzEconomy automatically registers as a Vault provider
- No extra setup required for Vault-compatible plugins
- PlaceholderAPI support:
- Use placeholders in chat, scoreboard, and other plugins:
%ezeconomy_balance% – Your balance
%ezeconomy_balance_<currency>% – Your balance in a specific currency (e.g., %ezeconomy_balance_euro%)
%ezeconomy_bank_<bank>% – Balance of a specific bank
%ezeconomy_top_1% – Top 1 player balance (replace 1 with rank)
%ezeconomy_currency% – Your preferred currency
- Works with all PlaceholderAPI-compatible plugins
?️ Developer: Custom Storage Providers
EzEconomy supports custom storage backends (YML, MySQL, SQLite, MongoDB, or your own)! You can implement your own provider for any database or storage system.
How to add a custom provider:
- Implement the
StorageProvider interface in your plugin or module.
- Register your provider before EzEconomy loads:
EzEconomy.registerStorageProvider(new YourProvider(...));
- Only one provider can be registered. If set, EzEconomy will use it instead of YML/MySQL.
- See the full StorageProvider reference for required methods and implementation details.
This allows you to use SQLite, MongoDB, Redis, or any other system for player balances and banks!
Performance benchmark
Economy Benchmark Summary
| Plugin |
Version |
Storage |
Redis |
Status |
Run time (s) |
Deposit avg (ms) |
Withdraw avg (ms) |
Balance/Has avg (ms) |
RAM avg (MiB) |
RAM peak (MiB) |
? vs EzEconomy baseline |
| essentialsx |
2.21.1 |
file |
off |
ok |
1.021 |
0.483072 |
0.276326 |
0.005248 |
465.76 |
466.50 |
N/A |
| ezeconomy |
3.1.2 |
mysql |
off |
ok |
0.090 |
0.008794 |
0.007697 |
0.004436 |
415.20 |
415.50 |
1.00x deposit |
| ezeconomy |
3.1.2 |
mysql |
on |
ok |
0.098 |
0.012991 |
0.008751 |
0.004505 |
405.67 |
406.02 |
1.48x deposit |
| ezeconomy |
3.1.2 |
sqlite |
off |
ok |
0.034 |
0.008090 |
0.003718 |
0.003299 |
420.58 |
420.78 |
1.00x deposit |
| ezeconomy |
3.1.2 |
sqlite |
on |
ok |
0.036 |
0.007114 |
0.004541 |
0.003127 |
447.34 |
447.37 |
0.88x deposit |
| xconomy |
2.26.3 |
mysql |
off |
ok |
0.547 |
0.164429 |
0.129993 |
0.191681 |
465.28 |
467.52 |
18.70x deposit |
| xconomy |
2.26.3 |
sqlite |
off |
ok |
0.290 |
0.109194 |
0.061594 |
0.080283 |
428.20 |
430.39 |
13.50x deposit |
Bank Operation Benchmarks
| Plugin |
Version |
Storage |
Redis |
Status |
Run time (s) |
BankDeposit avg (ms) |
BankWithdraw avg (ms) |
BankBalance/Has avg (ms) |
RAM avg (MiB) |
RAM peak (MiB) |
| essentialsx |
2.21.1 |
file |
off |
skipped (Vault bank API not supported by this economy provider) |
N/A |
N/A |
N/A |
N/A |
N/A |
N/A |
| ezeconomy |
3.1.2 |
mysql |
off |
ok |
3.330 |
1.225967 |
1.153788 |
0.567417 |
449.95 |
458.75 |
| ezeconomy |
3.1.2 |
mysql |
on |
ok |
3.090 |
1.122824 |
1.078041 |
0.516253 |
440.06 |
448.27 |
| ezeconomy |
3.1.2 |
sqlite |
off |
ok |
2.126 |
0.960253 |
0.838308 |
0.061351 |
463.86 |
469.28 |
| ezeconomy |
3.1.2 |
sqlite |
on |
ok |
1.864 |
0.827309 |
0.747836 |
0.064934 |
490.66 |
496.37 |
| xconomy |
2.26.3 |
mysql |
off |
skipped (Vault bank API not supported by this economy provider) |
N/A |
N/A |
N/A |
N/A |
N/A |
N/A |
| xconomy |
2.26.3 |
sqlite |
off |
skipped (Vault bank API not supported by this economy provider) |
N/A |
N/A |
N/A |
N/A |
N/A |
N/A |
❓ Support
- For help, join our community Discord
? Related Plugins

评论 0
登录后参与评分
还没有评论,来抢沙发吧