ShopPlusPlus
一款基于 GUI 的商店出售与出售魔杖插件,适用于 Minecraft 服务器。
功能介绍
/shop打开一个购买和出售的商店菜单(我已设置好分类:工具与矿物、建筑方块、木材与石头、彩色方块、花朵与植物、食物、红石、其他)。- 左击物品进行购买,右击物品进行出售。随后您将进入一个菜单,可以选择要购买/出售的数量,支持按堆叠、10 个、1 个等数量选择。
- 出售魔杖:
/sellwand give <player> <multiplier> <uses> <amount>。您可以右键点击任何容器,它将出售该容器中的所有物品。

命令
| 命令 | 功能 | 权限 |
|---|---|---|
/shop |
打开商店 | shopplusplus.use(默认:所有人) |
/sellwand give <player> <multiplier> <uses> <amount> |
给予出售魔杖 | shopplusplus.sellwand.give(默认:OP) |
/shopplusplus reload |
实时重载 config.yml | shopplusplus.admin(默认:OP) |
出售魔杖的命令可以根据您的操作有所变化:
/sellwand give DaJoisright
/sellwand give DaJoisright 1.5
/sellwand give DaJoisright 1.5 300
/sellwand give DaJoisright 1.5 300 5

省略的参数将回退到配置文件的默认值,倍率也可以针对每个玩家单独调整,因此非常实用。
权限
这些权限将在您使用的任何权限插件中生效。
shopplusplus.use— 打开/shop。默认情况下所有人都拥有此权限。shopplusplus.sellwand.use— 实际使用出售法杖对容器进行操作。 默认开启;如果你希望将法杖作为可购买的奖励,可以将其关闭以针对某个用户组。shopplusplus.sellwand.give— 通过/sellwand give发放法杖。默认仅限 OP(管理员)使用。shopplusplus.admin— 重载配置文件。默认仅限 OP(管理员)使用。
配置
所有设置均位于 config.yml 中。商店由一个 main_menu(即你打开 /shop 时看到的分类按钮)和一个 shops: 部分构成,其中每个分类都是一个独立的项目列表。
每个可购买的项目都需要包含以下字段:
some_item_id:
material: DIAMOND
slot: 12
name: '&bDiamond'
lore:
- 'Optional extra line'
cost: 800.0
sell_price: 170.0
cost 是购买一个物品所需的费用,sell_price 是你出售一个物品所能获得的收益——无论是通过商店的出售菜单还是使用指向装满该物品容器的出售法杖。
菜单按钮(即从主菜单打开某个分类或带你返回的按钮)使用 opens_shop 来代替 cost/sell_price:
back_button:
material: ARROW
slot: 49
name: '&5&l« Back to Main Menu'
opens_shop: main_menu
填充面板只需在 slots: 下列出它们覆盖的所有槽位,而不是单个 slot:。
出售法杖的默认设置将在配置的顶部找到:
sell-wand:
default-uses: 100
default-multiplier: 1.0
这些设置仅在运行 /sellwand give 且未指定相应参数时生效。
定价
所有价格均可自定义,我设置了一些公平的原版生存多人游戏价格作为起始参考。

额外功能
- 商店与出售法杖共享同一份价格列表。在商店配置中设置了
sell_price的任何物品,都会自动可以通过法杖进行出售 :> 这样你就不用重复配置了。它适用于 /shop、/sell 命令以及出售法杖! - 如果容器中的物品不在价格列表中,则不会被销毁——出售法杖只会处理真正具有
sell_price的物品;因此,如果某物品不可出售,你将把它取回。

ShopPlusPlus
a GUI based shop sell and sellwand plugin for minecraft servers/
What it does
/shopopens a buying and selling shop menu (Tools & Minerals, Building Blocks, Woods & Stones, Colored Blocks, Flowers & Plants, Foods, Redstone, Miscellaneous are the ones I have set to stat out)- Left-click an item to buy it, right-click to sell it. Then you will be
- brough to a menu where you can choose how many you want to buy/sell
- stacks, 10's 1's and mores
- Sell wands:
/sellwand give <player> <multiplier> <uses> <amount>. you can right click anything and it will sell everything in that - container

Commands
| Command | What it does | Permission |
|---|---|---|
/shop |
Opens the shop | shopplusplus.use (default: everyone) |
/sellwand give <player> <multiplier> <uses> <amount> |
Gives sell wands | shopplusplus.sellwand.give (default: op) |
/shopplusplus reload |
Reloads config.yml live | shopplusplus.admin (default: op) |
The sell wand command can change based on what u do
/sellwand give DaJoisright
/sellwand give DaJoisright 1.5
/sellwand give DaJoisright 1.5 300
/sellwand give DaJoisright 1.5 300 5

Anything you leave off falls back to the config defaults, the multipler can go up per player so its also good
Permissions
Theese will work in whatever perms plugin your running
shopplusplus.use— open/shop. Everyone gets this by default.shopplusplus.sellwand.use— actually use a sell wand on a container. Also on by default; turn it off for a group if you want wands to be a purchasable perk instead.shopplusplus.sellwand.give— hand out wands with/sellwand give. Op only by default.shopplusplus.admin— reload the config. Op only by default.
Config
Everything lives in config.yml. The shop is built out of a main_menu
(the category buttons you see when you open /shop) and a shops:
section where each category is its own list of items.
Every purchasable item needs:
some_item_id:
material: DIAMOND
slot: 12
name: '&bDiamond'
lore:
- 'Optional extra line'
cost: 800.0
sell_price: 170.0
cost is what it takes to buy one, sell_price is what you get selling
one — either through the shop's sell menu or a sell wand pointed at a
container full of them.
Menu buttons (the things that open a category from the main menu, or take
you back) use opens_shop instead of cost/sell_price:
back_button:
material: ARROW
slot: 49
name: '&5&l« Back to Main Menu'
opens_shop: main_menu
Filler panes just list every slot they cover under slots: instead of a
single slot:.
Sell wand defaults are gonna be found at the top of the config:
sell-wand:
default-uses: 100
default-multiplier: 1.0
These only apply when /sellwand give is run without doing those
arguments.
Pricing
All Prices are configureable, I set some fair vanilla SMP prices to start out

Extra Things
- The shop and sell wand share the same priceing list, anything with a
sell_priceset in the shop config is automatically sellable through a wand too, it helps so you dont have to configure it twice :> So it works in /shop /sell and sell wands! - Nothing in a container is destroyed if it isn't in the price list —
sell wands only will touch items that actually have a
sell_priceso if it is not - sell able you get it back.

下载 ShopPlusPlus
下载 ShopPlusPlus
下载 ShopPlusPlus
下载 ShopPlusPlus
下载 ShopPlusPlus
下载 ShopPlusPlus
下载 ShopPlusPlus
下载 ShopPlusPlus
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ShopPlusPlus
下载 ShopPlusPlus
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧