Shimell / DiscordWhitelisterSpigot

Spigot plugin that allows whitelisting users through a discord text channel.
MIT License
41 stars 22 forks source link

PlayerJoinEvent Error #74

Open CherryWaffle opened 2 years ago

CherryWaffle commented 2 years ago

[14:02:23 ERROR]: Could not pass event PlayerJoinEvent to DiscordWhitelister v1.4.8 java.lang.NoClassDefFoundError: de/myzelyam/api/vanish/VanishAPI

getting this error, please help

Naantam commented 2 years ago

I get the following error too. Also, I'm on 1.4.9.

[16:03:28] [Server thread/ERROR]: Could not pass event PlayerJoinEvent to DiscordWhitelister v1.4.8
java.lang.NoClassDefFoundError: de/myzelyam/api/vanish/VanishAPI
    at uk.co.angrybee.joe.Utils.isVanished(Utils.java:22) ~[discord-whitelister-1.4.9.jar:?]
    at uk.co.angrybee.joe.events.JoinLeaveEvents.onPlayerJoin(JoinLeaveEvents.java:23) ~[discord-whitelister-1.4.9.jar:?]
    at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor33.execute(Unknown Source) ~[?:?]
    at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75) ~[paper-api-1.19.2-R0.1-SNAPSHOT.jar:?]
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-api-1.19.2-R0.1-SNAPSHOT.jar:git-Paper-130]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.19.2-R0.1-SNAPSHOT.jar:?]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:670) ~[paper-api-1.19.2-R0.1-SNAPSHOT.jar:?]
    at net.minecraft.server.players.PlayerList.postChunkLoadJoin(PlayerList.java:366) ~[paper-1.19.2.jar:git-Paper-130]
    at net.minecraft.server.players.PlayerList.lambda$placeNewPlayer$1(PlayerList.java:308) ~[paper-1.19.2.jar:git-Paper-130]
    at net.minecraft.server.network.ServerGamePacketListenerImpl.tick(ServerGamePacketListenerImpl.java:357) ~[?:?]
    at net.minecraft.network.Connection.tick(Connection.java:579) ~[?:?]
    at net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:233) ~[?:?]
    at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1583) ~[paper-1.19.2.jar:git-Paper-130]
    at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:446) ~[paper-1.19.2.jar:git-Paper-130]
    at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1416) ~[paper-1.19.2.jar:git-Paper-130]
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1192) ~[paper-1.19.2.jar:git-Paper-130]
    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:305) ~[paper-1.19.2.jar:git-Paper-130]
    at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.ClassNotFoundException: de.myzelyam.api.vanish.VanishAPI
    at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:151) ~[paper-api-1.19.2-R0.1-SNAPSHOT.jar:?]
    at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:103) ~[paper-api-1.19.2-R0.1-SNAPSHOT.jar:?]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?]
    ... 18 more

Also seems there is some issue with the initialization of the bot.

[16:02:04 ERROR]: [STDERR] [org.bukkit.craftbukkit.v1_19_R1.legacy.CraftLegacy] Initializing Legacy Material Support. Unless you have legacy plugins and/or data this is a bug!
[16:02:09 WARN]: Legacy plugin DiscordWhitelister v1.4.8 does not specify an api-version.