Closed terminalsin closed 2 years ago
Running into issues with Artemis. AntiCheatReplay throws this error and doesn't load.
Also does the same with Karhu and Kauri, so I'm guessing it's a repository issue.
[15:28:50 ERROR]: Could not load 'plugins\AntiCheatReplay-2.5.3.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: ac/artemis/anticheat/api/listener/PunishListener
Now that’s hella weird. I’ll look into it. Probably something due to how lambdas compile
Did you ever find out the source of this?
Working on it
Kauri dev is looking into why Kauri throws the same issue. His working theory is the obfuscation. Maybe that helps you?
Found the issue with Karhu, I believe it might be something similar with Artemis and Kauri.
Karhu requires that KarhuAPI be installed, I think the way you are setting the AntiCheat is loading the Listener class for the AntiCheat even if it isn't installed on the server.
I set an anonymous checker function for Karhu to check if it and KarhuAPI is installed, but it still throws the error. It boots up perfectly fine once KarhuAPI is installed.
EDIT: Although the issue doesn't happen if other AntiCheats aren't installed.... Weird.
Narrowed the issue down to being that all of the effected plugins use their own event register instead of Bukkit's