• 欢迎加入MineBBS QQ讨论群:点击查看所有的官方讨论群
  • 我们将于近期对服务器进行迁移,服务可能中断至多2日。请各位安排好自己的访问计划,造成不便敬请谅解!
  • MineBBS入站考试已经上线!想要成为【正式会员】解锁更多功能吗?快来参与吧!【点我去看】
SweetAdaptiveShop —— 动态价格收购商店 | 收购订单 | 高度自定义界面 [1.8-26.2]

服务端插件 SweetAdaptiveShop —— 动态价格收购商店 | 收购订单 | 高度自定义界面 [1.8-26.2] 1.2.4

请登录后获取
1750073107488.webp1750073157791.webp1750071874428.webp
1750073260721.webp

【1】目前这个是每个人随机到的物品不一样,希望可以添加一个全服统一物品系统,就是每次刷新全服所有人随机到的物品和价格是相同的
【2】然后我还希望可以给随机刷新的物品添加一个品质系统(以此来修改不同物品出现的概率频率
 
1750073756854.webp
版本: paper-1.18.2 给予玩家物品时的消息变量显示不正常
 
最后编辑:
大佬,我是笨比,怎么添加收购和出售的物品
 
大佬,我是笨比,怎么添加收购和出售的物品
复制 buy / sell 文件夹里的默认配置,改个名,文件名就是商品 ID
 
打赏用户
电子鱼
大佬,我给了权限组后,以玩家的视角执行 /sashop系列命令的时候,无法进入商店,并且后台一直触发这些报错:Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.kyori.adventure.platform.bukkit.BukkitComponentSerializer
[Server thread/INFO] [net.minecraft.server.MinecraftServer]: 试图执行该命令时出现意外错误
[Server thread/INFO] []: [MixEnergy] Recovered energy from 0 to 2.0
[Server thread/WARN] [top.mrxiaom.sweet.adaptiveshop.SweetAdaptiveShop]: [SweetAdaptiveShop] Task #12144 for SweetAdaptiveShop v1.1.0 generated an exception
org.bukkit.command.CommandException: Unhandled exception executing command 'sashop' in plugin SweetAdaptiveShop v1.1.0
Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.kyori.adventure.platform.bukkit.BukkitComponentSe
 
大佬,我给了权限组后,以玩家的视角执行 /sashop系列命令的时候,无法进入商店,并且后台一直触发这些报错:Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.kyori.adventure.platform.bukkit.BukkitComponentSerializer
[Server thread/INFO] [net.minecraft.server.MinecraftServer]: 试图执行该命令时出现意外错误
[Server thread/INFO] []: [MixEnergy] Recovered energy from 0 to 2.0
[Server thread/WARN] [top.mrxiaom.sweet.adaptiveshop.SweetAdaptiveShop]: [SweetAdaptiveShop] Task #12144 for SweetAdaptiveShop v1.1.0 generated an exception
org.bukkit.command.CommandException: Unhandled exception executing command 'sashop' in plugin SweetAdaptiveShop v1.1.0
Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.kyori.adventure.platform.bukkit.BukkitComponentSe
到 Github Actions 升级最新开发版本再试
 
到 Github Actions 升级最新开发版本再试
大佬,我这边更新到了最新的开发版本玩家们还是无法进入商店,而且OP在购买商店交互的时候,点击购买小麦显示扣钱,并且动态指也有变化,但是背包栏没有出现该物品,这是我以下的报错,麻烦您了
我使用的核心是mohist-1.20.1-906
[09:21:51] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: DianYuY issued server command: /sweetadaptiveshop
[09:21:52] [Server thread/WARN] [top.mrxiaom.sweet.adaptiveshop.SweetAdaptiveShop]: [SweetAdaptiveShop] Task #12144 for SweetAdaptiveShop v1.1.0 generated an exception
org.bukkit.command.CommandException: Unhandled exception executing command 'sashop' in plugin SweetAdaptiveShop v1.1.0
...
Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.kyori.adventure.platform.bukkit.BukkitComponentSerializer
...
[09:10:23] [Server thread/INFO] [top.mrxiaom.sweet.adaptiveshop.SweetAdaptiveShop]: [NBTAPI] Found Minecraft: v1_20_R1! Trying to find NMS support
[09:10:23] [Server thread/INFO] [top.mrxiaom.sweet.adaptiveshop.SweetAdaptiveShop]: [NBTAPI] NMS support 'MC1_20_R1' loaded!

:??:
 
大佬,我这边更新到了最新的开发版本玩家们还是无法进入商店,而且OP在购买商店交互的时候,点击购买小麦显示扣钱,并且动态指也有变化,但是背包栏没有出现该物品,这是我以下的报错,麻烦您了
我使用的核心是mohist-1.20.1-906
[09:21:51] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: DianYuY issued server command: /sweetadaptiveshop
[09:21:52] [Server thread/WARN] [top.mrxiaom.sweet.adaptiveshop.SweetAdaptiveShop]: [SweetAdaptiveShop] Task #12144 for SweetAdaptiveShop v1.1.0 generated an exception
org.bukkit.command.CommandException: Unhandled exception executing command 'sashop' in plugin SweetAdaptiveShop v1.1.0
...
Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.kyori.adventure.platform.bukkit.BukkitComponentSerializer
...
[09:10:23] [Server thread/INFO] [top.mrxiaom.sweet.adaptiveshop.SweetAdaptiveShop]: [NBTAPI] Found Minecraft: v1_20_R1! Trying to find NMS support
[09:10:23] [Server thread/INFO] [top.mrxiaom.sweet.adaptiveshop.SweetAdaptiveShop]: [NBTAPI] NMS support 'MC1_20_R1' loaded!

:??:
我用最新版的 mohist 测试没有问题。
本插件最新开发版改进了依赖库加载逻辑,你确定你更新到最新开发版了?
 
我用最新版的 mohist 测试没有问题。
本插件最新开发版改进了依赖库加载逻辑,你确定你更新到最新开发版了?
大佬,确实是最新的开发板
 
大佬怎么创建分类。有点懵
商品分组在 groups.yml 里面,创建完后,在相应的商品配置里面,改配置开头的 group 的值就行。
 
可以加一个非固定具体时间更新动态值,而是比如每过1小时就会更新一次动态值吗?
 
大佬,麻烦支持MMOItems的物品,谢谢了
 
canvas 1.21.11 插件安装输入命令后出现以下问题:
[00:36:16 ERROR]: [io.papermc.paper.threadedregions.FoliaWatchdogThread] Tick region located in world 'world' around chunk '[279, 257]' has not responded in 465.450989157s:[00:36:16 ERROR]: ------------------------------[00:36:16 ERROR]: Current Thread: Folia Region Scheduler Thread #1[00:36:16 ERROR]: PID: 80 | Suspended: false | Native: false | State: WAITING[00:36:16 ERROR]: Stack:[00:36:16 ERROR]: java.base@25.0.3/jdk.internal.misc.Unsafe.park(Native Method)[00:36:16 ERROR]: java.base@25.0.3/java.util.concurrent.locks.LockSupport.park(LockSupport.java:223)[00:36:16 ERROR]: java.base@25.0.3/java.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1885)[00:36:16 ERROR]: java.base@25.0.3/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:4364)[00:36:16 ERROR]: java.base@25.0.3/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:4310)[00:36:16 ERROR]: java.base@25.0.3/java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:1919)[00:36:16 ERROR]: java.base@25.0.3/java.util.concurrent.CompletableFuture.join(CompletableFuture.java:2138)[00:36:16 ERROR]: [收购商店]SweetAdaptiveShop-1.2.4.jar//top.mrxiaom.sweet.adaptiveshop.libs.base.utils.scheduler.FoliaLibScheduler.openInventory(FoliaLibScheduler.java:134)[00:36:16 ERROR]: [收购商店]SweetAdaptiveShop-1.2.4.jar//top.mrxiaom.sweet.adaptiveshop.libs.base.func.GuiManager.openGui(GuiManager.java:43)[00:36:16 ERROR]: [收购商店]SweetAdaptiveShop-1.2.4.jar//top.mrxiaom.sweet.adaptiveshop.libs.base.gui.IGuiHolder.lambda$open$0(IGuiHolder.java:68)[00:36:16 ERROR]: [收购商店]SweetAdaptiveShop-1.2.4.jar//top.mrxiaom.sweet.adaptiveshop.libs.base.gui.IGuiHolder$$Lambda/0x0000000091b1c260.accept(Unknown Source)[00:36:16 ERROR]: java.base@25.0.3/java.util.Optional.ifPresent(Optional.java:178)[00:36:16 ERROR]: [收购商店]SweetAdaptiveShop-1.2.4.jar//top.mrxiaom.sweet.adaptiveshop.libs.base.gui.IGuiHolder.open(IGuiHolder.java:68)[00:36:16 ERROR]: [收购商店]SweetAdaptiveShop-1.2.4.jar//top.mrxiaom.sweet.adaptiveshop.commands.CommandMain.onCommand(CommandMain.java:110)[00:36:16 ERROR]: org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)[00:36:16 ERROR]: io.papermc.paper.command.brigadier.bukkit.BukkitCommandNode$BukkitBrigCommand.run(BukkitCommandNode.java:83)[00:36:16 ERROR]: com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73)[00:36:16 ERROR]: net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:29)[00:36:16 ERROR]: net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:13)[00:36:16 ERROR]: net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8)[00:36:16 ERROR]: net.minecraft.commands.execution.UnboundEntryAction$$Lambda/0x0000000091b12fd8.execute(Unknown Source)[00:36:16 ERROR]: net.minecraft.commands.execution.CommandQueueEntry.execute(CommandQueueEntry.java:5)[00:36:16 ERROR]: net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:102)[00:36:16 ERROR]: net.minecraft.commands.Commands.executeCommandInContext(Commands.java:465)[00:36:16 ERROR]: net.minecraft.commands.Commands.performCommand(Commands.java:372)[00:36:16 ERROR]: net.minecraft.commands.Commands.performCommand(Commands.java:361)[00:36:16 ERROR]: net.minecraft.server.network.ServerGamePacketListenerImpl.performUnsignedChatCommand(ServerGamePacketListenerImpl.java:2419)[00:36:16 ERROR]: net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$13(ServerGamePacketListenerImpl.java:2392)[00:36:16 ERROR]: net.minecraft.server.network.ServerGamePacketListenerImpl$$Lambda/0x0000000091b09a18.run(Unknown Source)[00:36:16 ERROR]: net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$tryHandleChat$16(ServerGamePacketListenerImpl.java:2551)[00:36:16 ERROR]: net.minecraft.server.network.ServerGamePacketListenerImpl$$Lambda/0x0000000091b09c48.accept(Unknown Source)[00:36:16 ERROR]: io.papermc.paper.threadedregions.EntityScheduler.executeTick(EntityScheduler.java:243)[00:36:16 ERROR]: net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1655)[00:36:16 ERROR]: net.minecraft.server.dedicated.DedicatedServer.tickServer(DedicatedServer.java:466)[00:36:16 ERROR]: io.papermc.paper.threadedregions.TickRegions$ConcreteRegionTickHandle.tickRegion(TickRegions.java:519)[00:36:16 ERROR]: io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:524)[00:36:16 ERROR]: ca.spottedleaf.concurrentutil.scheduler.EDFSchedulerThreadPool$TickThreadRunner.run(EDFSchedulerThreadPool.java:526)[00:36:16 ERROR]: java.base@25.0.3/java.lang.Thread.runWith(Thread.java:1487)[00:36:16 ERROR]: java.base@25.0.3/java.lang.Thread.run(Thread.java:1474)
 
canvas 1.21.11 插件安装输入命令后出现以下问题:
[00:36:16 ERROR]: [io.papermc.paper.threadedregions.FoliaWatchdogThread] Tick region located in world 'world' around chunk '[279, 257]' has not responded in 465.450989157s:[00:36:16 ERROR]: ------------------------------[00:36:16 ERROR]: Current Thread: Folia Region Scheduler Thread #1[00:36:16 ERROR]: PID: 80 | Suspended: false | Native: false | State: WAITING[00:36:16 ERROR]: Stack:[00:36:16 ERROR]: java.base@25.0.3/jdk.internal.misc.Unsafe.park(Native Method)[00:36:16 ERROR]: java.base@25.0.3/java.util.concurrent.locks.LockSupport.park(LockSupport.java:223)[00:36:16 ERROR]: java.base@25.0.3/java.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1885)[00:36:16 ERROR]: java.base@25.0.3/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:4364)[00:36:16 ERROR]: java.base@25.0.3/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:4310)[00:36:16 ERROR]: java.base@25.0.3/java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:1919)[00:36:16 ERROR]: java.base@25.0.3/java.util.concurrent.CompletableFuture.join(CompletableFuture.java:2138)[00:36:16 ERROR]: [收购商店]SweetAdaptiveShop-1.2.4.jar//top.mrxiaom.sweet.adaptiveshop.libs.base.utils.scheduler.FoliaLibScheduler.openInventory(FoliaLibScheduler.java:134)[00:36:16 ERROR]: [收购商店]SweetAdaptiveShop-1.2.4.jar//top.mrxiaom.sweet.adaptiveshop.libs.base.func.GuiManager.openGui(GuiManager.java:43)[00:36:16 ERROR]: [收购商店]SweetAdaptiveShop-1.2.4.jar//top.mrxiaom.sweet.adaptiveshop.libs.base.gui.IGuiHolder.lambda$open$0(IGuiHolder.java:68)[00:36:16 ERROR]: [收购商店]SweetAdaptiveShop-1.2.4.jar//top.mrxiaom.sweet.adaptiveshop.libs.base.gui.IGuiHolder$$Lambda/0x0000000091b1c260.accept(Unknown Source)[00:36:16 ERROR]: java.base@25.0.3/java.util.Optional.ifPresent(Optional.java:178)[00:36:16 ERROR]: [收购商店]SweetAdaptiveShop-1.2.4.jar//top.mrxiaom.sweet.adaptiveshop.libs.base.gui.IGuiHolder.open(IGuiHolder.java:68)[00:36:16 ERROR]: [收购商店]SweetAdaptiveShop-1.2.4.jar//top.mrxiaom.sweet.adaptiveshop.commands.CommandMain.onCommand(CommandMain.java:110)[00:36:16 ERROR]: org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)[00:36:16 ERROR]: io.papermc.paper.command.brigadier.bukkit.BukkitCommandNode$BukkitBrigCommand.run(BukkitCommandNode.java:83)[00:36:16 ERROR]: com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73)[00:36:16 ERROR]: net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:29)[00:36:16 ERROR]: net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:13)[00:36:16 ERROR]: net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8)[00:36:16 ERROR]: net.minecraft.commands.execution.UnboundEntryAction$$Lambda/0x0000000091b12fd8.execute(Unknown Source)[00:36:16 ERROR]: net.minecraft.commands.execution.CommandQueueEntry.execute(CommandQueueEntry.java:5)[00:36:16 ERROR]: net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:102)[00:36:16 ERROR]: net.minecraft.commands.Commands.executeCommandInContext(Commands.java:465)[00:36:16 ERROR]: net.minecraft.commands.Commands.performCommand(Commands.java:372)[00:36:16 ERROR]: net.minecraft.commands.Commands.performCommand(Commands.java:361)[00:36:16 ERROR]: net.minecraft.server.network.ServerGamePacketListenerImpl.performUnsignedChatCommand(ServerGamePacketListenerImpl.java:2419)[00:36:16 ERROR]: net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$13(ServerGamePacketListenerImpl.java:2392)[00:36:16 ERROR]: net.minecraft.server.network.ServerGamePacketListenerImpl$$Lambda/0x0000000091b09a18.run(Unknown Source)[00:36:16 ERROR]: net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$tryHandleChat$16(ServerGamePacketListenerImpl.java:2551)[00:36:16 ERROR]: net.minecraft.server.network.ServerGamePacketListenerImpl$$Lambda/0x0000000091b09c48.accept(Unknown Source)[00:36:16 ERROR]: io.papermc.paper.threadedregions.EntityScheduler.executeTick(EntityScheduler.java:243)[00:36:16 ERROR]: net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1655)[00:36:16 ERROR]: net.minecraft.server.dedicated.DedicatedServer.tickServer(DedicatedServer.java:466)[00:36:16 ERROR]: io.papermc.paper.threadedregions.TickRegions$ConcreteRegionTickHandle.tickRegion(TickRegions.java:519)[00:36:16 ERROR]: io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:524)[00:36:16 ERROR]: ca.spottedleaf.concurrentutil.scheduler.EDFSchedulerThreadPool$TickThreadRunner.run(EDFSchedulerThreadPool.java:526)[00:36:16 ERROR]: java.base@25.0.3/java.lang.Thread.runWith(Thread.java:1487)[00:36:16 ERROR]: java.base@25.0.3/java.lang.Thread.run(Thread.java:1474)
之前统一更新失误,导致只要是在 Folia 运行都会炸,几天前已经在开发版本修复
 

在线会员

  • WIhee
  • jinzhao
  • 幻想yiv
  • clovykids
  • xiaojuzj
  • TYW
  • Alesso
  • AIERMIN
  • HuaYe
  • Atmosphere
  • 黎 渊
  • fangou
  • xiaosheneee
  • darkstar2018
  • 浪子清风
  • joker26873
  • 区冠庭
  • imxx
  • HYTV_Lemon
...和 2 更多。
后退
顶部 底部