Expconomy 将经验条转化为你服务器的货币。玩家通过 /xpc pay 互相支付,将经验存入银行,并在任何支持 Vault 的商店中消费。
在存在物品复制漏洞的服务器上,基于物品的经济体系容易崩溃。一旦钻石变得免费,它们就不再具备货币价值。而经验值更难被复制,因此基于经验的经济学能保持其价值稳定。
功能特性
- 向其他玩家付款:使用
/xpc pay <player> <amount>。向离线玩家的转账将在对方上线时到账。
- 个人银行账户。存入银行的经验在死亡时不会掉落。
- Vault 支持。商店、职业、拍卖行和领地插件可以收取或支付经验值。
- 可控的死亡掉落。玩家会掉落一定比例的经验值(默认为 10%),剩余部分保留用于重生。启用
keepInventory 可保留所有物品和经验。
- 排行榜:使用
/xpc top 查看。
- PlaceholderAPI 占位符:用于记分板和标签页列表。
- 可自定义的消息:支持
& 颜色代码、十六进制颜色以及 MiniMessage 格式。
防复制机制
付款、取款和银行存款操作均在同一个锁定步骤中完成,因此并行请求无法生成虚假经验值。从死亡屏幕发起的付款以及因崩溃触发的银行存款操作均会被拦截。该插件不收集任何数据,也不会向外部服务器发送信息。
命令
| 命令 |
功能 |
权限节点 |
/xpc |
显示你的余额 |
exp.balance |
/xpc pay <player> <amount> |
向玩家发送经验值 |
exp.pay |
/xpc deposit <amount> |
将经验值存入银行 |
exp.bank |
/xpc withdraw <amount> |
从银行取出经验值 |
exp.bank |
/xpc bank |
显示你的银行账户余额 |
exp.bank |
/xpc top |
显示排行榜 |
exp.top |
/xpc add, remove, set |
修改玩家的经验值 |
exp.add, exp.remove, exp.set |
/xpc reload |
重载配置文件 |
expconomy.reload |
/expconomy 可作为别名使用。主命令不是 /exp,因为 EssentialsX 已经占用了该命令。
依赖要求
- Paper 1.21.4 或更高版本,或 Paper 分支核心
- Java 21 或更高版本
- Vault(可选,商店和其他插件需要)
- PlaceholderAPI(可选)
Expconomy 不能在 Spigot 或 CraftBukkit 上运行,因为它使用了 Paper 的 API。
关于
Expconomy 灵感来源于 XPConomy,后者在 Minecraft 1.20.4 之后停止工作。它是一个从零开始编写的新插件,而非 Fork 版本。它在 GPL-3.0 协议下开源。
发现 Bug 或复制漏洞?请在 GitHub 上提交 Issue,或在我们的 Discord 中私下报告。
Expconomy turns the XP bar into your server's money. Players pay each other with /xpc pay, keep XP in a bank, and spend it in any shop that supports Vault.
Item economies fall apart on servers where players dupe items. Once diamonds are free, they stop being money. XP is much harder to dupe, so an XP economy keeps its value.
Features
- Pay other players with
/xpc pay <player> <amount>. Payments to offline players arrive when they join.
- A personal bank. Banked XP doesn't drop on death.
- Vault support. Shops, jobs, auction houses and land claim plugins can charge and pay in XP.
- Death drops you control. Players drop a set percentage of their XP, 10% by default, and respawn with the rest.
keepInventory keeps everything.
- A leaderboard with
/xpc top.
- PlaceholderAPI placeholders for scoreboards and tab lists.
- Messages you can edit, with
& color codes, hex colors and MiniMessage.
Built against dupes
Payments, withdrawals and bank deposits happen in one locked step, so parallel requests can't create XP. Payments sent from the death screen and crash-timed bank deposits are blocked. The plugin doesn't collect any data or send anything to outside servers.
Commands
| Command |
What it does |
Permission |
/xpc |
Show your balance |
exp.balance |
/xpc pay <player> <amount> |
Send XP to a player |
exp.pay |
/xpc deposit <amount> |
Put XP in your bank |
exp.bank |
/xpc withdraw <amount> |
Take XP out of your bank |
exp.bank |
/xpc bank |
Show your bank balance |
exp.bank |
/xpc top |
Show the leaderboard |
exp.top |
/xpc add, remove, set |
Change a player's XP |
exp.add, exp.remove, exp.set |
/xpc reload |
Reload the config |
expconomy.reload |
/expconomy works as an alias. The main command isn't /exp because EssentialsX already uses it.
Requirements
- Paper 1.21.4 or newer, or a Paper fork
- Java 21 or newer
- Vault (optional, needed for shops and other plugins)
- PlaceholderAPI (optional)
Expconomy doesn't run on Spigot or CraftBukkit, because it uses Paper's API.
About
Expconomy was inspired by XPConomy, which stopped working after Minecraft 1.20.4. It's a new plugin written from scratch, not a fork. It's open source under GPL-3.0.
Found a bug or a dupe? Open an issue on GitHub, or report it privately in our Discord.
评论 0
登录后参与评分
还没有评论,来抢沙发吧