bridgelol / ContainerExploitPrevention

4 stars 0 forks source link

Java version too high #2

Open gre3x opened 9 months ago

gre3x commented 9 months ago

I there any way that the Java version could be moved down to Java 8?

I have some 1.8 and 1.12 servers that can't run Java 17 right now, but I would still like to use the plugin.

Console logs on load: Could not load 'plugins/ContainerExploitPrevention-1.2.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: world/minecraftservers/plugin/ContainerExploitPrevention has been compiled by a more recent version of the Java Runtime (class file version 61.0

gre3x commented 9 months ago

@bridgelol would be awesome if you could do this! If needed, I can commission

bridgelol commented 7 months ago

I there any way that the Java version could be moved down to Java 8?

I have some 1.8 and 1.12 servers that can't run Java 17 right now, but I would still like to use the plugin.

Console logs on load: Could not load 'plugins/ContainerExploitPrevention-1.2.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: world/minecraftservers/plugin/ContainerExploitPrevention has been compiled by a more recent version of the Java Runtime (class file version 61.0

This plugin isn't quite built for 1.8. Uses paperweight and adventure (while yes this can be used...), the events & methods we rely on aren't compatible with 1.8 or 1.12.