When I start my plugin on my server I always get this error but I don't know why.
(I realize that it's because of the plugin.yml)
Did you change anything about the yml?
I have the files from github and want to update the plugin to 1.16.5.
yes i have the 'src.' added
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].
This is a localhost server for testing
Mhh… Then, as you said yourself, it is due to the change in the yml or something similar.
I've already tried without it
(this is the code: https://github.com/...ashPloit4)
Mhh. Then I don't know what to do next, just program the plug-ins myself, then it will usually work.
The plugin is from Garkolym and wants to keep some memories
Have you entered the main class correctly in the plugin.yml?
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 '
Your server has Java version 8 and plugin 11
So you have to rewrite the plugin in version 8 lol
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?
I think you can't even change the JDK with Eclipse lol
So, as far as I know, no