你的 Paper 服务器上的经济系统:余额、支付、纸币以及任意数量的额外货币。
属于 JP Plugins 系列插件,但也可以独立运行。
功能
金钱
/balance、/pay 和 /baltop
- 玩家可以开启或关闭接收付款(
/paytoggle)
- 金钱请求:
/payrequest Steve 500 发送一个可点击的支付按钮
- 纸币:
/withdraw 将金钱转换为物品。每张纸币只能兑换一次,因此复制的纸币无法兑现
- 管理员的交易历史记录
额外货币
- 在
config.yml 中添加宝石或代币等货币
- 每种货币都有独立的命令和排行榜
服务器管理员功能
- Vault 接口,使所有支持 Vault 的插件都能使用它
- 通过 MySQL 或 Redis 实现跨服务器同步
- 支持 SQLite 或 MySQL
- 提供英文、西班牙文、葡萄牙文、法文和德文消息,或添加自定义语言
- 余额变更事件,供其他插件调用
要求
- Paper 26.3 或更高版本(Java 25)
可选依赖
- Vault: 允许其他插件使用 JPEconomy 的经济系统
- PlaceholderAPI: 文本中的占位符,以及 JPEconomy 自带的占位符
安装
- 将 jar 文件放入服务器的
plugins 文件夹中。
- 重启服务器。
plugins/JPEconomy/ 目录会自动创建,包含配置文件和消息文件。
- 根据需要修改文件内容,然后执行
/eco reload 或再次重启服务器。
以操作员身份输入 /jp,可查看你已安装的所有 JP 插件及其版本,以及它们检测到的可选依赖插件。
命令
/balance [player](也支持 /bal、/money):查看自己或其他玩家的余额。
/pay <player> <amount>:向其他玩家转账。
/payrequest <player> <amount>(也支持 /requestmoney、/payreq):向其他玩家发起金钱请求。
/paytoggle(也支持 /togglepay):开启或关闭接收付款功能。
/baltop [page](也支持 /balancetop、/moneytop、/topmoney):查看最富有的玩家列表。
/withdraw <amount>(也支持 /banknote):将金钱提取为纸币物品。
/eco <give|take|set|reset|history|reload>(也支持 /economy、/jpeconomy):经济管理命令。
权限
jpeconomy.balance(所有人):查看自己的余额。
jpeconomy.balance.others(所有人):查看其他玩家的余额。
jpeconomy.pay(所有人):向其他玩家转账。
jpeconomy.payrequest(所有人):向其他玩家发起金钱请求。
jpeconomy.paytoggle(所有人):开启或关闭接收付款功能。
jpeconomy.baltop(所有人):查看最富有的玩家列表。
jpeconomy.withdraw(所有人):使用 /withdraw 创建纸币。
jpeconomy.banknote.redeem(所有人):右键点击纸币以兑现。
jpeconomy.bypass.cooldown(操作员):跳过 /pay 的冷却时间。
jpeconomy.bypass.paytoggle(操作员):向关闭了收款功能的玩家转账。
jpeconomy.admin(操作员):执行 /eco give、take、set、reset、history 和 reload。
占位符
需要 PlaceholderAPI。
%jpeconomy_balance%:纯数字格式的余额,例如 1234.5
%jpeconomy_balance_formatted%:带货币符号的余额,例如 $1,234.50
%jpeconomy_balance_short%:简短格式的余额,例如 $1.23K
%jpeconomy_balance_commas%:带千位分隔符的余额
%jpeconomy_rank%:在 /baltop 中的排名(0 = 未上榜)
%jpeconomy_accepts_payments%:true / false
%jpeconomy_top_name_<n>%:排名第 n 位的玩家名称
%jpeconomy_top_balance_<n>%:排名第 n 位的格式化余额
%jpeconomy_<currency>%:额外货币的余额,例如 %jpeconomy_gems%
%jpeconomy_<currency>_formatted%:带该货币符号的相同格式
%jpeconomy_<currency>_short%:简短格式,例如 1.2K
%jpeconomy_<currency>_commas%:带千位分隔符
%jpeconomy_<currency>_rank%:在该货币排行榜中的位置
%jpeconomy_<currency>_top_name_<n>%:该货币排名第 n 位的玩家名称
%jpeconomy_<currency>_top_balance_<n>%:该货币排名第 n 位的余额
支持
完整文档、默认配置和设置指南可在 JP Plugins 网站的 JPEconomy 页面 找到。
有问题、Bug 或建议?加入 JP Plugins Discord。
喜欢这些插件吗?你可以在 Ko-fi 上支持 JP Plugins。
统计
JPEconomy 使用 bStats 统计运行它的服务器数量。仅发送匿名数据,如服务器和 Java 版本、玩家数量和所在国家。如需关闭,请在 plugins/bStats/config.yml 中为每个插件禁用。
许可协议
JPEconomy 可免费用于任何服务器,包括盈利性服务器,但它不是开源软件。请勿重新上传、出售或分享修改后的副本。完整条款见 jar 包内的 LICENSE.txt 文件。
The money system for your Paper server: balances, payments, banknotes and as many extra currencies as you want.
Part of JP Plugins, but it works on its own.
Features
Money
/balance, /pay and /baltop
- Players can turn incoming payments on or off (
/paytoggle)
- Money requests:
/payrequest Steve 500 sends a clickable pay button
- Banknotes:
/withdraw turns money into an item. Each note can only be cashed in once, so a duplicated note pays nothing
- Transaction history for admins
Extra currencies
- Add currencies like gems or tokens in
config.yml
- Each one gets its own commands and top list
For server owners
- Vault provider, so every Vault plugin can use it
- Sync between servers over MySQL or Redis
- SQLite or MySQL
- Messages in English, Spanish, Portuguese, French and German, or add your own language
- Balance change event for other plugins
Requirements
- Paper 26.3 or newer (Java 25)
Optional
- Vault: lets other plugins use JPEconomy's money
- PlaceholderAPI: placeholders in texts, and JPEconomy's own placeholders
Installation
- Put the jar in your server's
plugins folder.
- Restart the server.
plugins/JPEconomy/ is created with the config and messages.
- Change what you want in the files, then use
/eco reload or restart.
Type /jp as an operator to see every JP plugin you have installed, its version and which optional plugins it found.
Commands
/balance [player] (also /bal, /money): Show your balance or another player's.
/pay <player> <amount>: Send money to another player.
/payrequest <player> <amount> (also /requestmoney, /payreq): Ask another player for money.
/paytoggle (also /togglepay): Turn incoming payments on or off.
/baltop [page] (also /balancetop, /moneytop, /topmoney): The richest players.
/withdraw <amount> (also /banknote): Turn money into a banknote item.
/eco <give|take|set|reset|history|reload> (also /economy, /jpeconomy): Economy admin commands.
Permissions
jpeconomy.balance (everyone): See your own balance.
jpeconomy.balance.others (everyone): See other players' balances.
jpeconomy.pay (everyone): Pay other players.
jpeconomy.payrequest (everyone): Ask other players for money.
jpeconomy.paytoggle (everyone): Turn incoming payments on or off.
jpeconomy.baltop (everyone): See the richest players.
jpeconomy.withdraw (everyone): Create banknotes with /withdraw.
jpeconomy.banknote.redeem (everyone): Cash in banknotes by right-clicking them.
jpeconomy.bypass.cooldown (operators): Skip the /pay cooldown.
jpeconomy.bypass.paytoggle (operators): Pay players who turned payments off.
jpeconomy.admin (operators): /eco give, take, set, reset, history and reload.
Placeholders
Needs PlaceholderAPI.
%jpeconomy_balance%: balance as a plain number, e.g. 1234.5
%jpeconomy_balance_formatted%: balance with the currency sign, e.g. $1,234.50
%jpeconomy_balance_short%: short balance, e.g. $1.23K
%jpeconomy_balance_commas%: balance with thousands separators
%jpeconomy_rank%: position in /baltop (0 = not listed)
%jpeconomy_accepts_payments%: true / false
%jpeconomy_top_name_<n>%: name at place n
%jpeconomy_top_balance_<n>%: formatted balance at place n
%jpeconomy_<currency>%: balance in an extra currency, e.g. %jpeconomy_gems%
%jpeconomy_<currency>_formatted%: the same with the currency's sign
%jpeconomy_<currency>_short%: short form, e.g. 1.2K
%jpeconomy_<currency>_commas%: with thousands separators
%jpeconomy_<currency>_rank%: position in that currency's top list
%jpeconomy_<currency>_top_name_<n>%: name at place n for that currency
%jpeconomy_<currency>_top_balance_<n>%: balance at place n for that currency
Support
Full docs, the default config and setup guides are on the JPEconomy page of the JP Plugins website.
Questions, bugs or ideas? Join the JP Plugins Discord.
Like the plugins? You can support JP Plugins on Ko-fi.
Statistics
JPEconomy uses bStats to count how many servers run it. It sends anonymous numbers only, like the server and Java version, the player count and the country. Turn it off for every plugin in plugins/bStats/config.yml.
License
JPEconomy is free to use on any server, including servers that make money, but it is not open source. Don't reupload, sell or share modified copies of it. The full terms are in LICENSE.txt inside the jar.
评论 0
登录后参与评分
还没有评论,来抢沙发吧