Minecraft plugin? - 6

Tr
- in Plugins
13

When I start my plugin on my server I always get this error but I don't know why.

Minecraft plugin

(I realize that it's because of the plugin.yml)

ya

Did you change anything about the yml?

Tr

I have the files from github and want to update the plugin to 1.16.5.

yes i have the 'src.' added

ja
-1

Is the server running on a Linux root server?

If so, check whether the server has permission to access the file, if not, do it with chmod 777 [name].

Tr

This is a localhost server for testing

ja

Mhh… Then, as you said yourself, it is due to the change in the yml or something similar.

Tr

I've already tried without it
(this is the code: https://github.com/...ashPloit4)

ja

Mhh. Then I don't know what to do next, just program the plug-ins myself, then it will usually work.

Tr

The plugin is from Garkolym and wants to keep some memories

gl

Have you entered the main class correctly in the plugin.yml?

Tr

I have now renamed the class as main and I think it would work now but it says' Could not load 'plugins \ Cashploit.jar' in folder 'plugins'

org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: de / Garkolym / main has been compiled by a more recent version of the Java Runtime (class file version 59.0), this version of the Java Runtime only recognizes class file versions up to 52.0Could not load 'plugins \ Cashploit.jar' in folder 'plugins'

org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: de / Garkolym / main has been compiled by a more recent version of the Java Runtime (class file version 59.0), this version of the Java Runtime only recognizes class file versions up to 52.0 '

gl

Your server has Java version 8 and plugin 11

So you have to rewrite the plugin in version 8 lol

Tr

The plugin itself is 5 years old
I think it's because of how it was compiled.
do you know how I can change that for eclipse?

gl

I think you can't even change the JDK with Eclipse lol

So, as far as I know, no