🏪 ShopPlugin
在箱子上放一个告示牌。现在它就是一个商店。
玩家之间使用真实货币买卖物品。在告示牌上写四行字,填满箱子,搞定。无需学习 GUI,也无需顾客使用命令:右键购买,左键出售。
✅ Spigot、Paper、Purpur 和 Folia · 1.20 → 26.x · 兼容任何支持 Vault 的经济系统
💬 发现 bug 或有想法?请在 Discord 告诉我们。
🛠️ 10 秒创建商店
放置一个箱子(或桶 / 潜影盒),在其上方放置一个告示牌并写入以下内容:
| 行数 |
填写内容 |
示例 |
| 1 |
[Shop] |
[Shop] |
| 2 |
每次交易的数量 |
16 |
| 3 |
买入价 : 卖出价 |
B 10:S 5 |
| 4 |
物品名称,或留为 ? 以使用你手中的物品 |
diamond |
告示牌会立即变成商店:
[Shop]
16
B 10:S 5
Diamond
只想出售?写入 B 10。只想从玩家处购买?写入 S 5。
✨ 功能
💰 真实交易
- 右键告示牌以购买,左键以出售,潜行 + 点击可查看价格和库存。
- 资金直接转入商店所有者账户,即使他们离线。
- 兼容 EssentialsX、CMI 以及任何其他支持 Vault 的经济插件。
- 当有人与你交易时,以及当商店缺货或满仓时,店主会收到通知消息。
👑 管理员商店
- 写入
[AdminShop](权限 shop.admin)即可创建拥有无限库存的服务器商店。资金从服务器扣除并返回给服务器。
- 非常适合用作出生点市场或统一收购点。
🛡️ 内置保护
- 仅所有者可以打开商店箱子或破坏箱子和告示牌。
- 漏斗无法从商店中抽取物品。
- 爆炸(TNT、苦力怕、床)无法摧毁商店。
- 无人能在你的箱子旁边放置另一个箱子将其变为可开启的双箱。
- 商店告示牌一旦创建便不可编辑。
📦 容器支持
支持箱子、双箱、陷阱箱、桶和潜影盒。
🎨 完全可配置
所有消息均可在 config.yml 中修改,支持 & 颜色代码和十六进制 &#RRGGBB 颜色。
📜 命令
| 命令 |
描述 |
权限 |
/shop |
如何制作商店 |
– |
/shop reload |
重载配置文件 |
shop.reload |
别名:/shops、/chestshop
🔑 权限
| 权限 |
描述 |
默认值 |
shop.create |
在自己的箱子上创建商店 |
所有人 |
shop.use |
从商店购买并向商店出售 |
所有人 |
shop.admin |
管理管理员商店,管理所有商店 |
OP |
shop.reload |
重载配置文件 |
OP |
shop.update |
加入时接收更新通知 |
OP |
⚙️ 配置
sign:
header: "&1[Shop]"
admin-header: "&4[AdminShop]"
# 当有人与在线的商店所有者交易时发送通知
notify-owner: true
protection:
hoppers: true # 漏斗无法从商店中抽取物品
explosions: true # 爆炸无法摧毁商店
messages:
prefix: "&8[&6Shop&8] "
bought: "&aYou bought &f{amount}x {item} &afor &f{price}&a."
# ...每条消息均可修改
📦 安装
- 安装 Vault 和一个经济插件(如 EssentialsX、CMI 等)。
- 将
ShopPlugin.jar 放入 plugins/ 文件夹。
- 重启服务器并开始制作你的第一个商店。
📋 兼容性
|
|
| 服务端 |
Spigot、Paper、Purpur、Folia |
| 版本 |
1.20 → 26.x(单一 jar 包) |
| Java |
17+ |
| 依赖 |
Vault + 一个经济插件(用于交易) |
从 1.0 版本升级? 旧的 1.0 商店仍受保护但不再进行交易。请破坏告示牌并重新制作一个新的。
🧩 invv 的其他插件
💬 加入我们的 Discord 获取支持、更新预览和抢先体验。
🏪 ShopPlugin
Put a sign on a chest. Now it's a shop.
Players sell and buy items from each other with real money. Write four lines on a sign, fill the chest, done. No GUIs to learn, no commands for customers: right-click to buy, left-click to sell.
✅ Spigot, Paper, Purpur & Folia · 1.20 → 26.x · works with any Vault economy
💬 Found a bug or have an idea? Tell us on Discord.
🛠️ Make a shop in 10 seconds
Place a chest (or barrel / shulker box), put a sign on it and write:
| Line |
What to write |
Example |
| 1 |
[Shop] |
[Shop] |
| 2 |
Amount per trade |
16 |
| 3 |
Buy price : sell price |
B 10:S 5 |
| 4 |
The item, or ? for the item in your hand |
diamond |
The sign turns into a shop right away:
[Shop]
16
B 10:S 5
Diamond
Only want to sell? Write B 10. Only want to buy from players? Write S 5.
✨ Features
💰 Real trading
- Right-click the sign to buy, left-click to sell, sneak + click to see the price and stock.
- Money goes straight to the shop owner, even when they're offline.
- Works with EssentialsX, CMI and any other economy plugin that supports Vault.
- Owners get a message when someone trades with them, and when the shop is empty or full.
👑 Admin shops
- Write
[AdminShop] (permission shop.admin) for a server shop with unlimited stock. Money comes from and goes to the server.
- Perfect for a spawn market or a sell-all point.
🛡️ Protection built in
- Only the owner can open the shop chest or break the chest and the sign.
- Hoppers can't pull items out of a shop.
- Explosions (TNT, creepers, beds) can't destroy shops.
- Nobody can put a chest next to yours to turn it into a double chest they can open.
- Shop signs can't be edited after they're made.
📦 Containers
Chests, double chests, trapped chests, barrels and shulker boxes.
🎨 Fully configurable
Every message can be changed in config.yml, with & colors and hex &#RRGGBB.
📜 Commands
| Command |
Description |
Permission |
/shop |
How to make a shop |
– |
/shop reload |
Reload the config |
shop.reload |
Aliases: /shops, /chestshop
🔑 Permissions
| Permission |
Description |
Default |
shop.create |
Create shops on your own chests |
everyone |
shop.use |
Buy from and sell to shops |
everyone |
shop.admin |
Admin shops, manage every shop |
OP |
shop.reload |
Reload the config |
OP |
shop.update |
Update notifications on join |
OP |
⚙️ Configuration
sign:
header: "&1[Shop]"
admin-header: "&4[AdminShop]"
# Tell online shop owners when someone trades with them
notify-owner: true
protection:
hoppers: true # hoppers can't pull items out of shops
explosions: true # explosions can't destroy shops
messages:
prefix: "&8[&6Shop&8] "
bought: "&aYou bought &f{amount}x {item} &afor &f{price}&a."
# ...every message can be changed
📦 Installation
- Install Vault and an economy plugin (EssentialsX, CMI…).
- Put
ShopPlugin.jar in your plugins/ folder.
- Restart the server and make your first shop.
📋 Compatibility
|
|
| Servers |
Spigot, Paper, Purpur, Folia |
| Versions |
1.20 → 26.x (one jar) |
| Java |
17+ |
| Needs |
Vault + an economy plugin (for trading) |
Updating from 1.0? Old 1.0 shops stay protected but no longer trade. Break the sign and make a new one.
🧩 More plugins by invv
💬 Join our Discord for support, updates and sneak peeks.
评论 0
登录后参与评分
还没有评论,来抢沙发吧