MerchantGuild 插件
MerchantGuild 是一款 Minecraft 插件,允许玩家访问一个特殊商店,在其中出售他们拥有的物品。商店会定期刷新随机物品以供交易。

功能
- 允许玩家从背包中出售物品以获取游戏内货币。
- 商店按设定的时间间隔自动刷新(默认:2 小时)。
- 可配置每次刷新时物品的最大数量。
- 可选择是否允许商店中出现重复物品。
- 支持在多个世界中提供该商店。
- 多语言支持(目前提供:英语、越南语)。
- 管理员命令用于重新加载配置并手动刷新商店。
命令
| 命令 |
描述 |
权限 |
| merchant |
打开商人公会 |
merchant.use |
| merchant help |
帮助信息 |
merchant.use |
| merchant refresh |
刷新商店 |
merchant.admin |
| merchant reload |
重新加载插件 |
merchant.admin |
配置文件 (config.yml)
language: en
shop:
refresh_interval: 120 # 刷新时间(分钟制,120 分钟 = 2 小时)
max_items: 14 # 每次刷新的最大物品数量(最多 14 个)
duplicates: False # 是否允许重复物品
allowed-worlds:
- world
- world_nether
- world_the_end
items:
ALL_SWORD:
amount: 1
price: 2
enchants:
SHARPNESS: 3
UNBREAKING: 2
BOOK:
amount: 1-16
price: 0.2
GOLDEN_APPLE:
amount: 1-8
price: 2
依赖要求
- Vault(必需依赖项)
- 经济类插件(必需)—— Vault 仅作为 API/中介层,本身不提供经济系统。你必须安装一个通过 Vault 注册经济提供者的插件。推荐选项包括:
- EssentialsX(免费,最流行)
- CMI(付费,功能丰富)
- TheNewEconomy、XConomy 等
- 正确使用插件命令所需的权限
注意:仅安装 Vault 是不够的。如果没有经济提供者,MerchantGuild 将会被禁用,并显示错误信息:Disabled due to no Vault dependency found!
安装步骤
- 下载 MerchantGuild.jar 文件。
- 将其放入 Minecraft 服务器的
plugins/ 文件夹中。
- 重启服务器。
- 如有需要,编辑
config.yml 并使用 /merchant reload 应用更改。
反馈与支持
如果遇到任何问题或希望做出贡献,请在 GitHub 上提交 Issue 或加入支持社区。
MerchantGuild Plugin
MerchantGuild is a Minecraft plugin that allows players to access a special shop where they can sell items they own. The shop refreshes periodically with random items for trading.

Features
- Allows players to sell items from their inventory for in-game currency.
- The shop refreshes automatically every set interval (default: 2 hours).
- Configurable maximum number of items per refresh.
- Option to allow or disallow duplicate items in the shop.
- Supports multiple worlds where the shop is available.
- Multi-language support (currently available: English, Vietnamese).
- Admin commands to reload configuration and manually refresh the shop.
Command
| Command |
Description |
Permission |
| merchant |
open merchant guild |
merchant.use |
| merchant help |
help |
merchant.use |
| merchant refresh |
refresh the shop |
merchant.admin |
| merchant reload |
reload plugin |
merchant.admin |
Configuration (config.yml)
language: en
shop:
refresh_interval: 120 # Refresh time (in minutes, 120 minutes = 2 hours)
max_items: 14 # Maximum number of items per refresh (MAX 14)
duplicates: False # Allow duplicate items or not
allowed-worlds:
- world
- world_nether
- world_the_end
items:
ALL_SWORD:
amount: 1
price: 2
enchants:
SHARPNESS: 3
UNBREAKING: 2
BOOK:
amount: 1-16
price: 0.2
GOLDEN_APPLE:
amount: 1-8
price: 2
Requirements
- Vault (required dependency)
- An Economy plugin (required) — Vault is only an API/broker layer and does not provide economy on its own. You must install a plugin that registers an Economy provider through Vault. Recommended options:
- EssentialsX (free, most popular)
- CMI (paid, feature-rich)
- TheNewEconomy, XConomy, etc.
- Proper permissions to use the plugin commands
Note: Installing Vault alone is not enough. Without an economy provider, MerchantGuild will be disabled with the error: Disabled due to no Vault dependency found!
Installation
- Download the MerchantGuild.jar file.
- Place it in the
plugins/ folder of your Minecraft server.
- Restart the server.
- Edit
config.yml if necessary and use /merchant reload to apply changes.
Feedback & Support
If you encounter any issues or want to contribute, open an issue on GitHub or join the support community.
评论 0
登录后参与评分
还没有评论,来抢沙发吧