Andavin / Images

A custom image loading plugin for Spigot.
71 stars 33 forks source link

Can't load on Purpur 1.20.6 #109

Open PurpleEastZQ opened 2 weeks ago

PurpleEastZQ commented 2 weeks ago

[23:26:54 ERROR]: [ModernPluginLoadingStrategy] Could not load plugin 'images-2.5.1.jar' in folder 'plugins.paper-remapped' org.bukkit.plugin.InvalidPluginException: java.lang.ExceptionInInitializerError at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:129) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:35) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] at io.papermc.paper.plugin.entrypoint.strategy.modern.ModernPluginLoadingStrategy.loadProviders(ModernPluginLoadingStrategy.java:116) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] at io.papermc.paper.plugin.storage.SimpleProviderStorage.enter(SimpleProviderStorage.java:38) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] at io.papermc.paper.plugin.entrypoint.LaunchEntryPointHandler.enter(LaunchEntryPointHandler.java:36) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:546) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:320) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1150) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:326) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?] Caused by: java.lang.ExceptionInInitializerError at java.base/java.lang.Class.forName0(Native Method) ~[?:?] at java.base/java.lang.Class.forName(Class.java:534) ~[?:?] at java.base/java.lang.Class.forName(Class.java:513) ~[?:?] at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:78) ~[purpur-api-1.20.6-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:125) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] ... 9 more Caused by: java.lang.UnsupportedOperationException: Class class com.andavin.images.PacketListener is not currently supported for version v1_20_R5 at images-2.5.1.jar/com.andavin.images.Versioned.getInstance(Versioned.java:60) ~[images-2.5.1.jar:?] at images-2.5.1.jar/com.andavin.images.Images.(Images.java:97) ~[images-2.5.1.jar:?] at java.base/java.lang.Class.forName0(Native Method) ~[?:?] at java.base/java.lang.Class.forName(Class.java:534) ~[?:?] at java.base/java.lang.Class.forName(Class.java:513) ~[?:?] at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:78) ~[purpur-api-1.20.6-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:125) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e] ... 9 more

CloudeLecaw commented 1 week ago

Update thr plugin. your using 2.5.1..

PurpleEastZQ commented 1 week ago

But the latest version is 2.5.1..?

CloudeLecaw commented 1 week ago

use Version 2.4.0 that was made for 1.20.6 for paper or spigot if it still refuse to load then you cant use it on pupur..

you also can try out version 2.5.2 https://github.com/Kici33/Images?tab=readme-ov-file