本帖最后由 AlbertBlue 于 2021-7-20 16:20 编辑
介绍 |
因为找不到支持点券的箱子商店 所以自己写了个 ![]() 特点: 支持点券和游戏币交易 无需额外数据储存[商店数据采用1.14以上新加的 persistentdata api 储存所有数据在牌子方块内(不是牌子上的字)] 支持出售商店(出售特定物品) 支持收购商店(收购特定物品) 支持抽奖商店(随机出售商店内物品) 支持税率(默认百分之3,向下取整) 玩家采用UUID储存,支持正版服(牌子显示是名字) 使用本插件必须要安装: Vault(必须) PlayerPoints(必须) Vault 需要对应的经济插件(例如essentials)[vault本身只是经济和权限插件之间的桥梁,不是经济插件,别搞错了] |
使用方法 |
在箱子或木桶旁放牌子第一行写上shop即可创建商店 具体看图: ![]() 物品名显示由MC客户端语言决定,不需要您一个一个翻译或修改配置 ![]() 使用商店: 直接右键牌子即可打开玩家的商店界面 ![]() 出售商店实时显示物品库存 左键购买1个 右键可在聊天栏输入自定义数量进行购买 ![]() 收购商店则是左键出售1个 shift+左键出售背包所有 若商店空间不足则会自动设置为最大可出售数量 ![]() 抽奖商店还会有0.5秒一次显示商店随机物品效果(不会重复显示同一物品)[异步渲染不会卡服] 商店的库存显示也会随之更新 |
指令&权限 |
/signshop reload —— signshop.reload 重新载入配置文件 |
配置文件 |
tax: 0.03 税,0.03为百分之3 create: "shop" #创建商店的木牌关键词 debug: false #别管这个 enable_sounds: true #商店提示音效 blocks: #可创建商店的容器方块 - CHEST - BARREL |
安全 |
本插件没有箱子保护! 避免让玩家把商店放在别人领地里又拆不掉的尴尬 (用quickshop的时候一堆玩家让我帮他们拆已经退服的朋友商店,所以没有写保护) 请让玩家把商店创建在自己领地内! 如果不小心在他人领地设置了收购商店,又一直卖物品扣自己游戏币或点券 点击聊天栏商店购买/出售信息即可查看商店信息或摧毁商店 ![]() 本插件在使用/购买/查看/摧毁/创建商店时均会监测 玩家游戏币点券余额,商店主人信息价格,商店容器方块状态和空间,玩家背包空间 理论不会有刷物品或主人拆牌子偷偷改价格坑人的BUG 本插件的商店方块支持所有原版容器,可以自行添加漏斗甚至熔炉酿造台 但是注意别加潜影箱子!玩家可以卖潜影箱子到潜影箱子里,导致无限套娃... 已经添加的去掉即可,已经存在的潜影箱子商店将无法使用 |
下载 |
当前版本 1.0.5 ![]() 交流群: 1003617906(发现任何BUG可加群反馈) 更新日志: |
A哥,这插件能支持1.12.2不?只能高版本吗?
clearlove_7 发表于 2020-12-17 01:14
A哥,这插件能支持1.12.2不?只能高版本吗?
1.14以上才行,看标题
AlbertBlue 发表于 2020-12-17 21:15
1.14以上才行,看标题
好可惜啊。。。
clearlove_7 发表于 2020-12-17 21:17
好可惜啊。。。
Signshop本身原版我记得是支持低版本的
你去看看
顺便问问这个插件能不能把保护功能变成可开关的
能满足大部分人需求
@AlbertBlue
有bug 玩家可以直接打开箱子
A哥我是spigot1.16.5用后直接报错,就是跑出一个选择界面,然后一点就报错
Could not pass event InventoryClickEvent to SignShop v1.0.3
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:319) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:2277) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.PacketPlayInWindowClick.a(SourceFile:32) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.PacketPlayInWindowClick.a(SourceFile:10) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(SourceFile:144) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(SourceFile:118) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:942) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:935) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(SourceFile:127) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.MinecraftServer.sleepForTick(MinecraftServer.java:919) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:851) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_221]
Caused by: java.lang.NoSuchMethodError: org.bukkit.inventory.ItemStack.addItemFlags([Lorg/bukkit/inventory/ItemFlag;)V
at me.albert.signshop.gui.ShopCreateGUI.renderPriceInv(ShopCreateGUI.java:71) ~[?:?]
at me.albert.signshop.gui.ShopCreateGUI.open(ShopCreateGUI.java:63) ~[?:?]
at me.albert.signshop.gui.ShopCreateGUI.onClick(ShopCreateGUI.java:175) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_221]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_221]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_221]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_221]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:315) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
... 18 more
Could not pass event InventoryClickEvent to SignShop v1.0.3
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:319) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:2277) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.PacketPlayInWindowClick.a(SourceFile:32) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.PacketPlayInWindowClick.a(SourceFile:10) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(SourceFile:144) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(SourceFile:118) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:942) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:935) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(SourceFile:127) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.MinecraftServer.sleepForTick(MinecraftServer.java:919) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:851) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_221]
Caused by: java.lang.NoSuchMethodError: org.bukkit.inventory.ItemStack.addItemFlags([Lorg/bukkit/inventory/ItemFlag;)V
at me.albert.signshop.gui.ShopCreateGUI.renderPriceInv(ShopCreateGUI.java:71) ~[?:?]
at me.albert.signshop.gui.ShopCreateGUI.open(ShopCreateGUI.java:63) ~[?:?]
at me.albert.signshop.gui.ShopCreateGUI.onClick(ShopCreateGUI.java:175) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_221]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_221]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_221]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_221]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:315) ~[spigot-1.16.5.jar:git-Spigot-138d451-085fe67]
... 18 more
无需外部储存可还行。
可以支持点券nice
输入价格的时候 怎么输入都提示我 请输入正确的数字..
1.16.4paper
1.16.4paper


这三个东西都点不动
没反应
1.16.5
求助!
20金粒awa!?
真不错·~~
很不错的插件