Economy GUI+
Economy GUI+ 是一款专为 Paper 1.21.11 和 Paper 26.x 打造的完整经济与商店插件。
它将基于 UUID 的 SQLite 账户、可配置商店、出售工具、奖励、支付、Vault 支持、PlaceholderAPI 占位符、拍卖、购买订单、玩家商店、交易、邮箱以及注资悬赏等功能整合在一个插件中。
亮点
- 独立 SQLite 经济系统,无需依赖数据库或经济插件
- 基于 UUID 的余额跨世界共享
- 精确到两位小数的货币处理
- 可配置的初始余额和最大余额
- 玩家支付、支付税、冷却时间和收款控制
- 持久的每日奖励
- 首富排行榜与交易历史
- 支持分类和权限感知商品的带分页的箱子商店
- 支持以 1、16 或 64 为单位批量买卖物品
- 精选原版物品、附魔及可配置套装(Kits)
- 管理员价格覆盖、出售 GUI、价值浏览器及一键全卖支持
- 限时拍卖、注资购买订单、虚拟玩家商店、交易和邮箱
- 注资的玩家悬赏支付给目标的击杀者
- 可选的 Vault 经济提供者
- 自动注册 PlaceholderAPI 扩展
经济命令
| 命令 |
描述 |
/balance [player] |
查看余额 |
/pay <player> <amount> |
向其他玩家转账 |
/baltop [page] |
查看富豪榜 |
/daily |
领取每日奖励 |
/paytoggle |
启用或禁用收款功能 |
/moneyhistory [page] |
查看交易历史 |
/eco |
查看插件帮助 |
/ecoadmin |
管理余额、玩家、价格、重载和备份 |
别名包括 /bal、/money、/transactions 和 /aseeco。
商店与出售命令
| 命令 |
描述 |
/shop [category] |
打开商店 |
/sell [hand|all] |
出售物品 |
/sellgui |
打开出售押金和确认 GUI |
/worth [hand|all] |
查看可出售的价格 |
商店支持以下类别:方块、矿石与矿物、农业与食物、工具与装备、红石、附魔、套装(Kits)以及生成的物品。
市场命令
| 命令 |
描述 |
/market |
打开市场枢纽 |
/ah |
创建或浏览限时拍卖 |
/orders |
创建或浏览注资购买订单 |
/pshop |
管理虚拟玩家商店 |
/trade <player> |
开始物品与金钱交易 |
/mailbox |
打开持久化收藏箱 |
/bounty <player> <amount> |
设置注资悬赏 |
PlaceholderAPI
安装 PlaceholderAPI 后,Economy GUI+ 会自动注册以下占位符:
| 占位符 |
输出 |
%eco_balance% |
精确余额 |
%eco_money% |
精确余额 |
%eco_balance_formatted% |
带货币格式的余额 |
%eco_balance_compact% |
紧凑格式余额 |
%eco_rank% |
首富排名 |
%eco_payments_enabled% |
支付开关状态 |
%eco_frozen% |
账户冻结状态 |
%eco_daily_remaining% |
距离每日奖励可用剩余的秒数 |
记分板行示例:
Money: %eco_balance_formatted%
商店配置
提供的 shop.yml 展示了分类、物品、附魔和套装的配置方法。
categories:
blocks:
display-name: '&7Blocks'
icon: STONE
items:
stone_bundle:
type: item
material: STONE
amount: 16
display-name: '&f16 Stone'
buy-price: '128.00'
sell-price: '32.00'
enchantment:
display-name: '&dEnchantment'
icon: ENCHANTED_BOOK
items:
mending:
type: enchantment
enchantment: minecraft:mending
level: 1
display-name: '&dMending'
buy-price: '8000.00'
sell-price: '-1'
- 正数价格最多支持两位小数。
- 使用
-1 禁用买入或卖出方向。
- 分类和产品权限可以限制访问。
- 生成的出售价格涵盖生存可获取的原版材质。
- 受保护或自定义的物品不会作为普通材质出售。
- 运行
/ecoadmin reload 重载有效设置和商店配置。
权限
| 权限 |
用途 |
eco.balance |
查看自己的余额 |
eco.balance.others |
查看其他玩家的余额 |
eco.pay |
发送支付 |
eco.baltop |
查看首富列表 |
eco.daily |
领取每日奖励 |
eco.paytoggle |
切换收款功能 |
eco.history |
查看自己的交易历史 |
eco.history.others |
查看其他玩家的历史 |
eco.shop |
使用商店 |
eco.sell |
出售物品 |
eco.worth |
查看价值信息 |
eco.admin |
使用管理命令 |
兼容性
| 目标 |
Paper API |
所需 Java |
| Paper 1.21.11 |
1.21.11-R0.1-SNAPSHOT |
Java 21 |
| Paper 26.1.x |
26.1.2.build.74-stable |
Java 25 |
| Paper 26.2 |
26.2.build.135-stable |
Java 25 |
| Paper 26.x |
26.3.build.263-stable |
Java 25 |
请使用与服务器版本匹配的 JAR 文件。Folia 和较旧的 Minecraft 版本不在支持范围内。
安装
- 停止服务器并备份现有的插件数据。
- 移除旧的 EconomyShop JAR 文件或其他活动的经济提供者。
- 下载适用于您 Paper 版本的 JAR 文件。
- 将其放入
plugins/ 目录。
- 启动服务器。
- 编辑
plugins/EconomyGUIPlus/config.yml 和 plugins/EconomyGUIPlus/shop.yml。
- 运行
/ecoadmin reload。
这是一个全新的经济插件,拥有新的账户体系。它不会导入旧 EconomyShop 的 JSON 余额或使用旧的商店格式。
存储与备份
余额、账户设置、奖励、交易历史、拍卖、订单、交易、邮箱和悬赏存储在:
plugins/EconomyGUIPlus/economy.db
SQLite 针对单个 Paper 服务器进行序列化,并使用带有完全同步的 WAL 模式。
运行 /ecoadmin backup 可在以下位置创建一致快照:
plugins/EconomyGUIPlus/backups/
请将备份文件保存在服务器之外。本插件仅适用于单服务器环境,不提供 MySQL 支持或多服务器同步功能。
可选集成
Vault
如果其他插件需要调用 Economy GUI+ 作为经济提供者,请安装 Vault。
PlaceholderAPI
如果聊天、标签页或计分板插件需要使用 Economy GUI+ 的数值占位符,请安装 PlaceholderAPI。
Geyser 和 Floodgate
本插件使用标准的 Bukkit 库存和 UUID API。Java 版与 Bedrock 版客户端理论上可通过 Geyser 使用该插件,但每个服务器的具体部署仍需进行实时 Bedrock 兼容性测试。
重要提示
- 被冻结的账户无法付款、收款、购物、出售、领取奖励或使用市场交易。
- Vault 数值将四舍五入至最接近的分(cent),且不支持 Vault 银行功能。
- Minecraft 库存保存功能独立于 SQLite 事务处理。
- 在实际使用真实余额之前,请先在您的环境中测试本插件。
- 应通过真实客户端验证 Java 版图形界面与 Bedrock 版 Geyser/Floodgate 之间的实际交互效果。
许可证
保留所有权利。
Economy GUI+
Economy GUI+ is a complete economy and shop plugin for Paper 1.21.11 and Paper 26.x.
It combines UUID-based SQLite accounts, configurable shops, selling tools, rewards, payments, Vault support, PlaceholderAPI placeholders, auctions, buy orders, player shops, trading, mailboxes, and funded bounties in one plugin.
Highlights
- Standalone SQLite economy with no required database or economy plugin
- UUID-based balances shared across worlds
- Exact two-decimal currency handling
- Configurable starting balance and maximum balance
- Player payments, payment tax, cooldowns, and incoming-payment controls
- Persistent daily rewards
- Richest-player leaderboard and transaction history
- Paginated chest shop with categories and permission-aware products
- Buy and sell bundles of 1, 16, or 64 items
- Curated vanilla items, enchantments, and configurable kits
- Admin price overrides, sell GUI, worth browser, and sell-all support
- Timed auctions, funded buy orders, virtual player shops, trading, and mailboxes
- Funded player bounties paid to the target's killer
- Optional Vault economy provider
- Automatic PlaceholderAPI expansion
Economy Commands
| Command |
Description |
/balance [player] |
Check a balance |
/pay <player> <amount> |
Send money to another player |
/baltop [page] |
View the richest players |
/daily |
Claim the daily reward |
/paytoggle |
Enable or disable incoming payments |
/moneyhistory [page] |
View transaction history |
/eco |
View plugin help |
/ecoadmin |
Manage balances, players, prices, reloads, and backups |
Aliases include /bal, /money, /transactions, and /aseeco.
Shop and Selling Commands
| Command |
Description |
/shop [category] |
Open the shop |
/sell [hand|all] |
Sell items |
/sellgui |
Open the sell deposit and confirmation GUI |
/worth [hand|all] |
View eligible sell prices |
The shop supports Blocks, Ores & Minerals, Farming & Food, Tools & Gear, Redstone, Enchantment, Kits, and generated Items.
Marketplace Commands
| Command |
Description |
/market |
Open the marketplace hub |
/ah |
Create or browse timed auctions |
/orders |
Create or browse funded buy orders |
/pshop |
Manage virtual player shops |
/trade <player> |
Start an item and money trade |
/mailbox |
Open persistent collections |
/bounty <player> <amount> |
Place a funded bounty |
PlaceholderAPI
After installing PlaceholderAPI, Economy GUI+ registers these placeholders automatically:
| Placeholder |
Output |
%eco_balance% |
Exact balance |
%eco_money% |
Exact balance |
%eco_balance_formatted% |
Balance with currency formatting |
%eco_balance_compact% |
Compact formatted balance |
%eco_rank% |
Richest-player rank |
%eco_payments_enabled% |
Payment toggle state |
%eco_frozen% |
Account freeze state |
%eco_daily_remaining% |
Seconds until the daily reward is available |
Example scoreboard line:
Money: %eco_balance_formatted%
Shop Configuration
The supplied shop.yml demonstrates categories, items, enchantments, and kits.
categories:
blocks:
display-name: '&7Blocks'
icon: STONE
items:
stone_bundle:
type: item
material: STONE
amount: 16
display-name: '&f16 Stone'
buy-price: '128.00'
sell-price: '32.00'
enchantment:
display-name: '&dEnchantment'
icon: ENCHANTED_BOOK
items:
mending:
type: enchantment
enchantment: minecraft:mending
level: 1
display-name: '&dMending'
buy-price: '8000.00'
sell-price: '-1'
- Positive prices support up to two decimal places.
- Use
-1 to disable a buy or sell direction.
- Category and product permissions can restrict access.
- Generated sell prices cover survival-obtainable vanilla materials.
- Protected or customized items are not sold as plain materials.
/ecoadmin reload reloads valid settings and shop configuration.
Permissions
| Permission |
Purpose |
eco.balance |
Check your balance |
eco.balance.others |
Check another player's balance |
eco.pay |
Send payments |
eco.baltop |
View the richest-player list |
eco.daily |
Claim daily rewards |
eco.paytoggle |
Toggle incoming payments |
eco.history |
View your transaction history |
eco.history.others |
View another player's history |
eco.shop |
Use the shop |
eco.sell |
Sell items |
eco.worth |
View worth information |
eco.admin |
Use administrative commands |
Compatibility
| Target |
Paper API |
Required Java |
| Paper 1.21.11 |
1.21.11-R0.1-SNAPSHOT |
Java 21 |
| Paper 26.1.x |
26.1.2.build.74-stable |
Java 25 |
| Paper 26.2 |
26.2.build.135-stable |
Java 25 |
| Paper 26.x |
26.3.build.263-stable |
Java 25 |
Use the JAR matching the server. Folia and older Minecraft releases are outside the supported targets.
Installation
- Stop the server and back up existing plugin data.
- Remove old EconomyShop JARs or other active economy providers.
- Download the JAR for your Paper version.
- Place it in
plugins/.
- Start the server.
- Edit
plugins/EconomyGUIPlus/config.yml and plugins/EconomyGUIPlus/shop.yml.
- Run
/ecoadmin reload.
This is a new economy plugin with new accounts. It does not import old EconomyShop JSON balances or use the old shop format.
Storage and Backups
Balances, account settings, rewards, transaction history, auctions, orders, trades, mailboxes, and bounties are stored in:
plugins/EconomyGUIPlus/economy.db
SQLite is serialized for one Paper server and uses WAL with FULL synchronization.
Run /ecoadmin backup to create a consistent snapshot in:
plugins/EconomyGUIPlus/backups/
Keep backups off the server. The plugin is designed for one server and does not provide MySQL or cross-server synchronization.
Optional Integrations
Vault
Install Vault if other plugins need to use Economy GUI+ as an economy provider.
PlaceholderAPI
Install PlaceholderAPI if chat, tab, or scoreboard plugins need Economy GUI+ values.
Geyser and Floodgate
The plugin uses standard Bukkit inventory and UUID APIs. Java and Bedrock clients can potentially use it through Geyser, but live Bedrock compatibility testing is still required for each server setup.
Important Notes
- Frozen accounts cannot pay, receive, shop, sell, claim rewards, or use marketplace transactions.
- Vault values round to the nearest cent and Vault banks are unsupported.
- Minecraft inventory saving is separate from SQLite transactions.
- Test this plugin in your own environment before using real balances.
- Live Java GUI and Bedrock Geyser/Floodgate interactions should be verified with real clients.
License
All rights reserved.
评论 0
登录后参与评分
还没有评论,来抢沙发吧