SilkSpawners

SilkSpawners

3M Downloads

support paper 1.20.6/1.21

Incluuu opened this issue ยท 1 comments

commented

What steps will reproduce the problem?

Updating the server to Minecraft version 1.20.6 or 1.21 causes the plugin to disable itself

Expected output

Plugin should enable

What do you see instead?

When using any /ss command, the chat displays this error:
An unexpected error occured trying to execute that command

Log file of the issue/error

Console:
[08:31:27] [Server thread/INFO]: [SilkSpawners] Enabling SilkSpawners v8.0.0
[08:31:27] [Server thread/INFO]: [SilkSpawners] This version of the plugin is NOT compatible with your Minecraft version!
[08:31:27] [Server thread/INFO]: [SilkSpawners] Please check your versions to make sure they match!
[08:31:27] [Server thread/INFO]: [SilkSpawners] Disabling now!
[08:31:27] [Server thread/INFO]: [SilkSpawners] Compatible versions are: [v1_8_R3, v1_11_R1, v1_12_R1, v1_13_R2, v1_14_R1, v1_15_R1, v1_16_R1, v1_16_R2, v1_16_R3, v1_17_R1, v1_18_R1, v1_18_R2, v1_19_R1, v1_19_R2, v1_19_R3, v1_20_R1, v1_20_R3]
[08:31:27] [Server thread/INFO]: [SilkSpawners] Your version is: craftbukkit
[08:31:27] [Server thread/INFO]: [SilkSpawners] You can disable this check by setting testMCVersion to false in the config!

When running a command ingame:
[09:22:44 ERROR]: Command exception: /ss help
org.bukkit.command.CommandException: Cannot execute command 'ss' in plugin SilkSpawners v8.0.0 - plugin is disabled.
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.command.brigadier.bukkit.BukkitCommandNode$BukkitBrigCommand.run(BukkitCommandNode.java:91) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73) ~[brigadier-1.2.9.jar:?]
at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:31) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:19) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at net.minecraft.commands.execution.CommandQueueEntry.execute(CommandQueueEntry.java:5) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:103) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at net.minecraft.commands.Commands.executeCommandInContext(Commands.java:448) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at net.minecraft.commands.Commands.performCommand(Commands.java:355) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at net.minecraft.commands.Commands.performCommand(Commands.java:342) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at net.minecraft.commands.Commands.performCommand(Commands.java:337) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at net.minecraft.server.network.ServerGamePacketListenerImpl.performUnsignedChatCommand(ServerGamePacketListenerImpl.java:2202) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$14(ServerGamePacketListenerImpl.java:2176) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:151) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1511) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:195) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:125) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1488) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1411) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:135) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1377) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1238) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

/version output?

Checking version, please wait...
[15:39:00 INFO]: This server is running Paper version 1.21-28-master@812701d (2024-06-23T13:13:32Z) (Implementing API version 1.21-R0.1-SNAPSHOT)
You are running the latest version
Previous version: 1.21-1-21c9a7c (MC: 1.21)

SilkSpawners version

SilkSpawners 8.0.0

Disabling testMCVersion to false in the config results in this error in the console:
[08:54:11 INFO]: [SilkSpawners] Enabling SilkSpawners v8.0.0
[08:54:11 INFO]: [SilkSpawners] WorldGuard was not found and support is disabled
[08:54:11 WARN]: java.lang.ClassNotFoundException: de.dustplanet.silkspawners.compat.craftbukkit.NMSHandler
[08:54:11 WARN]: at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:197)
[08:54:11 WARN]: at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:164)
[08:54:11 WARN]: at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
[08:54:11 WARN]: at java.base/java.lang.Class.forName0(Native Method)
[08:54:11 WARN]: at java.base/java.lang.Class.forName(Class.java:534)
[08:54:11 WARN]: at java.base/java.lang.Class.forName(Class.java:513)
[08:54:11 WARN]: at io.papermc.reflectionrewriter.runtime.AbstractDefaultRulesReflectionProxy.forName(AbstractDefaultRulesReflectionProxy.java:68)
[08:54:11 WARN]: at io.papermc.paper.pluginremap.reflect.PaperReflectionHolder.forName(Unknown Source)
[08:54:11 WARN]: at SilkSpawners.jar//de.dustplanet.util.SilkUtil.setupNMSProvider(SilkUtil.java:173)
[08:54:11 WARN]: at SilkSpawners.jar//de.dustplanet.util.SilkUtil.(SilkUtil.java:130)
[08:54:11 WARN]: at SilkSpawners.jar//de.dustplanet.silkspawners.SilkSpawners.onEnable(SilkSpawners.java:99)
[08:54:11 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:287)
[08:54:11 WARN]: at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202)
[08:54:11 WARN]: at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109)
[08:54:11 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:519)
[08:54:11 WARN]: at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:604)
[08:54:11 WARN]: at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:553)
[08:54:11 WARN]: at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:675)
[08:54:11 WARN]: at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:437)
[08:54:11 WARN]: at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:323)
[08:54:11 WARN]: at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1136)
[08:54:11 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323)
[08:54:11 WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)
[08:54:11 ERROR]: [SilkSpawners] Could not find support for this CraftBukkit version.
[08:54:11 INFO]: [SilkSpawners] Check for updates at https://dev.bukkit.org/projects/silkspawners/
[08:54:11 INFO]: [SilkSpawners] Disabling SilkSpawners now!
[08:54:11 INFO]: [SilkSpawners] AutoUpdater is enabled and now running.
[08:54:11 ERROR]: Error occurred while enabling SilkSpawners v8.0.0 (Is it up to date?)
org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register de.dustplanet.silkspawners.listeners.SilkSpawnersBlockListener@7c9242e7 while not enabled
at io.papermc.paper.plugin.manager.PaperEventManager.registerEvents(PaperEventManager.java:80) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.registerEvents(PaperPluginManagerImpl.java:136) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at org.bukkit.plugin.SimplePluginManager.registerEvents(SimplePluginManager.java:682) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
at SilkSpawners.jar/de.dustplanet.silkspawners.SilkSpawners.onEnable(SilkSpawners.java:135) ~[SilkSpawners.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:287) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:519) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:604) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:553) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:675) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:437) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:323) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1136) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[paper-1.20.6.jar:1.20.6-129-0513374]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

Checklist

  • I am aware that issues caused by /reload are ignored
  • If there is a (potential) plugin conflict, I've identified the conflicting plugin
  • I have added a valid /version output
  • I have added a valid SilkSpawners version
  • I have attached necessary information like a screenshot, my list of plugins, config or permissions file(s)
commented

Your issue does not contain a valid output of the /version command and will now be closed and ignored.
Please create a new issue, follow the template and include a valid /version output.