Skript AnvilGUI is not compatible with 1.20.4.

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

퀵플레이

New Member
Jul 21, 2022
8
0
1
23
Skript AnvilGUI is not compatible with 1.20.4. Is there a solution?
In version 1.20.4, the add-on loaded normally, but was not usable.

Code:
Could not pass event PlayerCommandPreprocessEvent to Skript v2.6.4
java.lang.NoClassDefFoundError: Could not initialize class net.wesjd.anvilgui.AnvilGUI
        at net.wesjd.anvilgui.AnvilGUI$Builder.<init>(AnvilGUI.java:385) ~[Skript-AnvilGUI-1.4.jar:?]
        at org.derewah.skriptanvilgui.anvilgui.Anvil.<init>(Anvil.java:27) ~[Skript-AnvilGUI-1.4.jar:?]
        at org.derewah.skriptanvilgui.expressions.ExprNewAnvilGUI.get(ExprNewAnvilGUI.java:38) ~[Skript-AnvilGUI-1.4.jar:?]
        at org.derewah.skriptanvilgui.expressions.ExprNewAnvilGUI.get(ExprNewAnvilGUI.java:13) ~[Skript-AnvilGUI-1.4.jar:?]
        at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:99) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.effects.EffChange.execute(EffChange.java:274) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.lang.Effect.run(Effect.java:50) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.lang.Trigger.execute(Trigger.java:56) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:286) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.command.ScriptCommand.lambda$execute$0(ScriptCommand.java:251) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:256) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.command.Commands.handleCommand(Commands.java:261) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.command.Commands$1.onPlayerCommand(Commands.java:178) ~[Skript-2.6.4.jar:?]
        at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:40) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:git-Purpur-2138]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:617) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.performChatCommand(ServerGamePacketListenerImpl.java:2281) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$14(ServerGamePacketListenerImpl.java:2265) ~[?:?]
        at net.minecraft.util.thread.BlockableEventLoop.lambda$submitAsync$0(BlockableEventLoop.java:59) ~[?:?]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
        at net.minecraft.server.TickTask.run(TickTask.java:18) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
        at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
        at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1488) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:194) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
        at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1465) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1388) ~[purpur-1.20.4.jar:git-Purpur-2138]        at net.minecraft.util.thread.BlockableEventLoop.runAllTasks(BlockableEventLoop.java:114) ~[?:?]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1580) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1236) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at java.lang.Thread.run(Thread.java:840) ~[?:?]
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: AnvilGUI does not support server version "1_20_R3" [in thread "Server thread"]
        at net.wesjd.anvilgui.version.VersionMatcher.match(VersionMatcher.java:32) ~[Skript-AnvilGUI-1.4.jar:?]
        at net.wesjd.anvilgui.AnvilGUI.<clinit>(AnvilGUI.java:43) ~[Skript-AnvilGUI-1.4.jar:?]
        at net.wesjd.anvilgui.AnvilGUI$Builder.<init>(AnvilGUI.java:385) ~[Skript-AnvilGUI-1.4.jar:?]
        at org.derewah.skriptanvilgui.anvilgui.Anvil.<init>(Anvil.java:27) ~[Skript-AnvilGUI-1.4.jar:?]
        at org.derewah.skriptanvilgui.expressions.ExprNewAnvilGUI.get(ExprNewAnvilGUI.java:38) ~[Skript-AnvilGUI-1.4.jar:?]
        at org.derewah.skriptanvilgui.expressions.ExprNewAnvilGUI.get(ExprNewAnvilGUI.java:13) ~[Skript-AnvilGUI-1.4.jar:?]
        at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:99) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.effects.EffChange.execute(EffChange.java:274) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.lang.Effect.run(Effect.java:50) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.lang.Trigger.execute(Trigger.java:56) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:286) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.command.ScriptCommand.lambda$execute$0(ScriptCommand.java:251) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:256) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.command.ScriptCommand.onCommand(ScriptCommand.java:195) ~[Skript-2.6.4.jar:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_20_R3.CraftServer.dispatchCommand(CraftServer.java:1001) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at org.bukkit.craftbukkit.v1_20_R3.CraftServer.dispatchServerCommand(CraftServer.java:986) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at net.minecraft.server.dedicated.DedicatedServer.handleConsoleInputs(DedicatedServer.java:540) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:487) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1548) ~[purpur-1.20.4.jar:git-Purpur-2138]
        ... 3 more
[02:26:59 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'testanvil' in plugin Skript v2.6.4
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_20_R3.CraftServer.dispatchCommand(CraftServer.java:1001) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at org.bukkit.craftbukkit.v1_20_R3.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:64) ~[purpur-1.20.4.jar:git-Purpur-2138]
        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:32) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:13) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at net.minecraft.commands.execution.CommandQueueEntry.a(CommandQueueEntry.java:5) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:101) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at net.minecraft.commands.Commands.executeCommandInContext(Commands.java:442) ~[?:?]
        at net.minecraft.commands.Commands.performCommand(Commands.java:344) ~[?:?]
        at net.minecraft.commands.Commands.performCommand(Commands.java:331) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.performChatCommand(ServerGamePacketListenerImpl.java:2305) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$14(ServerGamePacketListenerImpl.java:2265) ~[?:?]
        at net.minecraft.util.thread.BlockableEventLoop.lambda$submitAsync$0(BlockableEventLoop.java:59) ~[?:?]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
        at net.minecraft.server.TickTask.run(TickTask.java:18) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
        at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
        at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1488) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:194) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
        at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1465) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1388) ~[purpur-1.20.4.jar:git-Purpur-2138]        at net.minecraft.util.thread.BlockableEventLoop.runAllTasks(BlockableEventLoop.java:114) ~[?:?]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1580) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1236) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at java.lang.Thread.run(Thread.java:840) ~[?:?]
Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.wesjd.anvilgui.AnvilGUI
        at net.wesjd.anvilgui.AnvilGUI$Builder.<init>(AnvilGUI.java:385) ~[Skript-AnvilGUI-1.4.jar:?]
        at org.derewah.skriptanvilgui.anvilgui.Anvil.<init>(Anvil.java:27) ~[Skript-AnvilGUI-1.4.jar:?]
        at org.derewah.skriptanvilgui.expressions.ExprNewAnvilGUI.get(ExprNewAnvilGUI.java:38) ~[Skript-AnvilGUI-1.4.jar:?]
        at org.derewah.skriptanvilgui.expressions.ExprNewAnvilGUI.get(ExprNewAnvilGUI.java:13) ~[Skript-AnvilGUI-1.4.jar:?]
        at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:99) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.effects.EffChange.execute(EffChange.java:274) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.lang.Effect.run(Effect.java:50) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.lang.Trigger.execute(Trigger.java:56) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:286) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.command.ScriptCommand.lambda$execute$0(ScriptCommand.java:251) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:256) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.command.ScriptCommand.onCommand(ScriptCommand.java:195) ~[Skript-2.6.4.jar:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        ... 29 more
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: AnvilGUI does not support server version "1_20_R3" [in thread "Server thread"]
        at net.wesjd.anvilgui.version.VersionMatcher.match(VersionMatcher.java:32) ~[Skript-AnvilGUI-1.4.jar:?]
        at net.wesjd.anvilgui.AnvilGUI.<clinit>(AnvilGUI.java:43) ~[Skript-AnvilGUI-1.4.jar:?]
        at net.wesjd.anvilgui.AnvilGUI$Builder.<init>(AnvilGUI.java:385) ~[Skript-AnvilGUI-1.4.jar:?]
        at org.derewah.skriptanvilgui.anvilgui.Anvil.<init>(Anvil.java:27) ~[Skript-AnvilGUI-1.4.jar:?]
        at org.derewah.skriptanvilgui.expressions.ExprNewAnvilGUI.get(ExprNewAnvilGUI.java:38) ~[Skript-AnvilGUI-1.4.jar:?]
        at org.derewah.skriptanvilgui.expressions.ExprNewAnvilGUI.get(ExprNewAnvilGUI.java:13) ~[Skript-AnvilGUI-1.4.jar:?]
        at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:99) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.effects.EffChange.execute(EffChange.java:274) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.lang.Effect.run(Effect.java:50) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.lang.Trigger.execute(Trigger.java:56) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:286) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.command.ScriptCommand.lambda$execute$0(ScriptCommand.java:251) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:256) ~[Skript-2.6.4.jar:?]
        at ch.njol.skript.command.ScriptCommand.onCommand(ScriptCommand.java:195) ~[Skript-2.6.4.jar:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_20_R3.CraftServer.dispatchCommand(CraftServer.java:1001) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at org.bukkit.craftbukkit.v1_20_R3.CraftServer.dispatchServerCommand(CraftServer.java:986) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at net.minecraft.server.dedicated.DedicatedServer.handleConsoleInputs(DedicatedServer.java:540) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:487) ~[purpur-1.20.4.jar:git-Purpur-2138]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1548) ~[purpur-1.20.4.jar:git-Purpur-2138]
        ... 3 more

..Of course, it was the same when using the latest version of the skript.
 
You need wolvsk and the highest version you can use it with is 1.16.X. If you want a search function, use a sign. Ill check out how to do that.