?️ ShopShields
将任意箱子或木桶变成玩家商店 —— 由 Vault 驱动。
ShopShields 让服务器上的每位玩家都能在几秒钟内开设自己的物品商店。只需在箱子或木桶上放置一个 ShopShield,通过直观的图形界面配置物品、数量和价格,商店即可上线——同时会自动放置一块告示牌,显示物品和库存状态。
✨ 特性
- 轻松创建商店 — 将 ShopShield 物品放置在任意箱子或木桶上,即可立即创建商店
- 基于 GUI 的设置 — 干净的三行背包界面,用于选择物品、调整数量和设置价格
- 自动告示牌 — 自动在箱子旁放置一块告示牌,显示物品名称、价格和卖家;缺货时文字带删除线
- Vault 经济系统 — 完全兼容任何支持 Vault 的经济插件(如 EssentialsX、CMI 等)
- 购买确认 — 可选的购买确认对话框,适用于超过可配置阈值(默认:100,000 $)的交易
- 库存检测 — 当箱子为空时,购买按钮自动禁用
- 所有者通知 — 当有人从你的商店购买商品时,商店所有者会实时收到消息
- 持久化数据 — 所有商店数据保存至
shops.yml,并在服务器重启后保留
- 双语支持 — 完整支持英语和德语,可在
config.yml 中切换
- 兼容 Folia — 自动检测 Folia 并使用正确的调度器
?️ 使用方法
1. 获取 ShopShield
/sps give ShopShield
2. 将其放置在箱子或木桶上
手持 ShopShield 物品,右键点击任意箱子或木桶。
3. 通过 GUI 进行配置
选择你要出售的物品,设置数量并通过聊天输入价格。
4. 为商店备货
将你想出售的物品放入箱子中——完成!
5. 玩家从你的商店购买
其他玩家右键点击箱子或告示牌以打开购买界面。
?️ 命令
| 命令 |
描述 |
权限 |
/sps give ShopShield |
给自己一个 ShopShield 物品 |
shopshields.give |
/shopshields give ShopShield |
上述命令的别名 |
shopshields.give |
? 权限
| 权限 |
描述 |
默认值 |
shopshields.give |
允许使用 /sps give ShopShield |
OP |
shopshields.admin |
可以管理和破坏任意商店 |
OP |
shopshields.buy |
可以从商店购买商品 |
所有人 |
⚙️ 配置文件 (config.yml)
# 语言: en (English) 或 de (Deutsch)
language: en
shop:
# 购买确认阈值 (0 = 禁用)
confirm-threshold: 100000.0
# 允许的最高商店价格 (0 = 无限制)
max-price: 0.0
# 只有商店所有者才能破坏箱子?
owner-only-break: true
? 兼容性
| 软件 |
支持情况 |
| Paper 1.21+ |
✅ |
| Spigot 1.21+ |
✅ |
| Folia |
✅ |
| Vault |
✅ 必需 |
| EssentialsX Economy |
✅ |
| CMI Economy |
✅ |
| Towny / GriefPrevention |
⚠️ 无原生集成(保护插件自行处理区块访问) |
? 依赖
- Java 21
- Paper 或 Spigot 1.21+
- Vault + 一个兼容的经济插件
? 数据与文件
| 文件 |
用途 |
plugins/ShopShields/config.yml |
语言和商店设置 |
plugins/ShopShields/shops.yml |
持久化商店数据(自动生成) |
? 作者
由 Maximilian Hirtzbruch 用 ❤️ 制作
? 支持与更新:
?️ ShopShields
Turn any chest or barrel into a player shop — powered by Vault.
ShopShields lets every player on your server open their own item shop in seconds. Simply place a ShopShield on a chest or barrel, configure the item, quantity and price through an intuitive GUI, and your shop is live — complete with an auto-placed sign showing the item and stock status.
✨ Features
- Easy shop creation — Place a ShopShield item on any chest or barrel to instantly create a shop
- GUI-based setup — Clean 3-row inventory interface for selecting items, adjusting quantities and setting prices
- Auto sign — A sign is automatically placed next to the chest displaying the item name, price and seller; strikethrough when out of stock
- Vault economy — Fully integrated with any Vault-compatible economy plugin (EssentialsX, CMI, etc.)
- Purchase confirmation — Optional confirmation dialog for purchases above a configurable threshold (default: 100,000 $)
- Stock detection — Buy button is automatically disabled when the chest is empty
- Owner notifications — Shop owners receive a message in real time when someone buys from their shop
- Persistent data — All shops are saved to
shops.yml and survive server restarts
- Bilingual — Full English and German language support, switchable in
config.yml
- Folia compatible — Automatically detects Folia and uses the correct scheduler
?️ How It Works
1. Get a ShopShield
/sps give ShopShield
2. Place it on a chest or barrel
Right-click any chest or barrel while holding the ShopShield item.
3. Configure via GUI
Select the item you want to sell, set the quantity and enter a price via chat.
4. Stock the chest
Put the items you want to sell into the chest — that's it!
5. Players buy from your shop
Other players right-click the chest or the sign to open the buy GUI.
?️ Commands
| Command |
Description |
Permission |
/sps give ShopShield |
Give yourself a ShopShield item |
shopshields.give |
/shopshields give ShopShield |
Alias for the above |
shopshields.give |
? Permissions
| Permission |
Description |
Default |
shopshields.give |
Allows using /sps give ShopShield |
OP |
shopshields.admin |
Can manage and break any shop |
OP |
shopshields.buy |
Can purchase from shops |
Everyone |
⚙️ Configuration (config.yml)
# Language: en (English) or de (Deutsch)
language: en
shop:
# Purchase confirmation threshold (0 = disabled)
confirm-threshold: 100000.0
# Maximum allowed shop price (0 = no limit)
max-price: 0.0
# Only the shop owner can break the chest?
owner-only-break: true
? Compatibility
| Software |
Supported |
| Paper 1.21+ |
✅ |
| Spigot 1.21+ |
✅ |
| Folia |
✅ |
| Vault |
✅ Required |
| EssentialsX Economy |
✅ |
| CMI Economy |
✅ |
| Towny / GriefPrevention |
⚠️ No native integration (protection plugins handle their own block access) |
? Requirements
- Java 21
- Paper or Spigot 1.21+
- Vault + a compatible economy plugin
? Data & Files
| File |
Purpose |
plugins/ShopShields/config.yml |
Language and shop settings |
plugins/ShopShields/shops.yml |
Persistent shop data (auto-generated) |
? Author
Made with ❤️ by Maximilian Hirtzbruch
? Support & Updates:
评论 0
登录后参与评分
还没有评论,来抢沙发吧