一个适用于 Paper 服务器的简单轻量级出售图形界面,支持游戏内价格设置和 Vault 集成。
SellGUI 为玩家提供了一种简洁、便捷的物品出售方式。运行 /sell 命令,将物品放入菜单中,即可通过点击绿色的“出售”按钮或直接关闭菜单来即时获得报酬。管理员只需一条命令即可在游戏内设定价格,无需重启服务器或手动编辑文件。

功能:
-
出售界面:一个拥有 54 格的箱子菜单。放入物品后,点击“出售”按钮(或关闭菜单),即可一次性全部售出。
-
Vault 经济支持:兼容任何支持 Vault 的经济插件(如 EssentialsX、CMI 等)。
-
游戏内定价:手持物品并执行 /setprice <价格> 命令来设置其出售价格。价格会自动保存到配置文件中。
-
价格查询:玩家可以手持任意物品并执行 /price 命令,查看其出售价格。
-
非法物品:将物品的价格设为 -1 使其无法出售。默认情况下,BEDROCK、BARRIER、COMMAND_BLOCK 及类似物品会被拦截,
可选地提醒玩家,
可选地向整个服务器广播,
可选地删除该物品或将其返还给玩家
-
未定价的物品将被返还:没有价格的物品会掉落回玩家手中而非直接消失,并告知玩家哪个物品未定价。
-
可配置的反馈:可切换操作栏消息、聊天消息或两者同时显示,并在每次交易时播放音效。
-
预设价格表:包含常见物品(原木、石头、矿石、农作物、食物等)的默认价格,可自由编辑。
-
轻量级:价格缓存在内存中,以便快速查找。
命令
命令:
- /sell
- /price
- /setprice <价格>
- /sellgui reload
- /sellgui help
配置:
-
actionbar-alert: true
-
message-alert: true
-
illegal-item-broadcast-alert: false
-
illegal-item-player-alert: true
-
delete-illegal-item: true
-
价格位于配置的“Price:”部分。将任何物品设置为 -1 以使其成为禁止出售的物品。
要求:
- Paper(或 Paper 的分支版本)
- Vault
- 一个与 Vault 兼容的经济插件
即将推出:
- 基于每种附魔的书的价格,为附魔物品提供额外价值
- 更多配置选项
A simple, lightweight sell GUI for Paper servers, with in-game price setting and Vault support.
SellGUI gives your players a clean, easy way to sell items. Run /sell, drop items into the menu, and get paid instantly, either by clicking the green Sell button or just by closing the menu. Admins can set prices in-game with a single command, with no need to restart or hand-edit files.

Features:
-
Sell GUI: a 54-slot chest menu. Put items in, click the Sell button (or close the menu) and everything is sold at once.
-
Vault economy support: works with any Vault-compatible economy plugin (EssentialsX, CMI, etc.)
-
In-game pricing: hold an item and run /setprice <price> to set its sell price. Prices are saved to the config automatically.
-
Price checking: players can hold any item and run /price to see what it sells for.
-
Illegal items: set an item’s price to -1 to make it unsellable. BEDROCK, BARRIER, COMMAND_BLOCK, and similar items are blocked by default,
Optionally alert the player,
Optionally broadcast to the whole server,
Optionally delete the item or return it to the player
-
Unpriced items are returned: items with no price are dropped back to the player instead of being lost, and the player is told which item has no price.
-
Configurable feedback: toggle the action bar message, the chat message, or both, with a sound effect on every sale.
-
Prebuilt price list: comes with default prices for common items (logs, stone, ores, crops, food, and more) that you can edit freely.
-
Lightweight: prices are cached in memory for fast lookups.
Commands
Commands:
- /sell
- /price
- /setprice <price>
- /sellgui reload
- /sellgui help
Configurations:
-
actionbar-alert: true
-
message-alert: true
-
illegal-item-broadcast-alert: false
-
illegal-item-player-alert: true
-
delete-illegal-item: true
-
Prices live under the Price: section of the config. Set any item to -1 to make it illegal to sell.
Requirements:
- Paper (or a Paper fork)
- Vault
- A Vault-compatible economy plugin
Coming soon:
- Extra value for enchanted items, based on each enchantment’s book price
- More config options
评论 0
登录后参与评分
还没有评论,来抢沙发吧