特性
- 多货币经济系统
- 可配置的货币名称、符号、小数位数和初始余额
- 通过 config.yml 和 messages.yml 实现白标化品牌定制
- 完全可编辑的玩家界面消息
- 玩家间转账支付
- 可配置的交易税费(按百分比或固定费用)
- 系统税收账户,例如 system:tax
- 支持货币兑换,可配置汇率和兑换手续费
- 管理员命令:设置、发放和扣除余额
- 基于扁平文件(Flatfile)的余额存储
- 核心经济模块经过单元测试
命令
玩家命令:
- /eco help
- /eco balance [player] [currency]
- /balance [player] [currency]
- /bal [player] [currency]
- /money [player] [currency]
- /pay <player> <amount> [currency]
- /eco pay <player> <amount> [currency]
- /eco exchange <amount> <from_currency> <to_currency>
- /eco currencies
管理员命令:
- /eco admin set <player> <amount> [currency]
- /eco admin give <player> <amount> [currency]
- /eco admin take <player> <amount> [currency]
- /eco reload
权限
wle.balance, wle.balance.others, wle.pay, wle.exchange, wle.admin, wle.reload
白标化配置
你可以在不重新编译插件的情况下,更改经济系统名称、消息前缀、颜色、货币名称、符号、小数位数、初始余额以及所有面向玩家的消息。
示例货币配置:
currencies:
coin:
singular: "Coin"
plural: "Coins"
symbol: "⛃"
decimals: 2
starting-balance: "100.00"
gem:
singular: "Gem"
plural: "Gems"
symbol: "◆"
decimals: 2
starting-balance: "0.00"
安装
- 下载插件 jar 文件。
- 将其放入 Paper 服务器的 plugins 文件夹中。
- 启动服务器一次。
- 编辑 config.yml 和 messages.yml。
- 运行 /eco reload 或重启服务器。
兼容性
基于 Paper API 1.20.4 和 Java 17 构建。
当前限制
这是一个早期功能发布版本。Vault、PlaceholderAPI、SQL 存储以及持久化的交易审计历史尚未包含在内。真实的命令别名仍来自 plugin.yml,而品牌标识、消息和货币均支持白标化配置。
Features
- Multi-currency economy
- Configurable currency names, symbols, decimals, and starting balances
- White-label branding through config.yml and messages.yml
- Fully editable player-facing messages
- Player-to-player payments
- Configurable transfer taxes with percentage and flat fees
- System tax collector account, such as system:tax
- Currency exchange with configurable rates and exchange fees
- Admin commands to set, give, and take balances
- Flatfile balance storage
- Unit-tested economy core
Commands
Player commands:
- /eco help
- /eco balance [player] [currency]
- /balance [player] [currency]
- /bal [player] [currency]
- /money [player] [currency]
- /pay <player> <amount> [currency]
- /eco pay <player> <amount> [currency]
- /eco exchange <amount> <from_currency> <to_currency>
- /eco currencies
Admin commands:
- /eco admin set <player> <amount> [currency]
- /eco admin give <player> <amount> [currency]
- /eco admin take <player> <amount> [currency]
- /eco reload
Permissions
wle.balance, wle.balance.others, wle.pay, wle.exchange, wle.admin, wle.reload
White-label configuration
You can change the economy name, message prefix, colors, currency names, symbols, decimals, starting balances, and all player-facing messages without recompiling the plugin.
Example currency configuration:
currencies:
coin:
singular: "Coin"
plural: "Coins"
symbol: "⛃"
decimals: 2
starting-balance: "100.00"
gem:
singular: "Gem"
plural: "Gems"
symbol: "◆"
decimals: 2
starting-balance: "0.00"
Installation
- Download the plugin jar.
- Place it in your Paper server's plugins folder.
- Start the server once.
- Edit config.yml and messages.yml.
- Run /eco reload or restart the server.
Compatibility
Built against Paper API 1.20.4 and Java 17.
Current limitations
This is an early functional release. Vault, PlaceholderAPI, SQL storage, and persistent transaction audit history are not included yet. Real command aliases still come from plugin.yml, while branding, messages, and currencies are white-label configurable.
评论 0
登录后参与评分
还没有评论,来抢沙发吧