I have a problem with my plugin (am relatively inexperienced) and I finished everything and wanted to test it on LocalHost. Unfortunately the LocalHost could not accept the plugin due to an error in the plugin.yml file.
Here the error or error code:
[02:57:08 ERROR]: Could not load 'plugins \ JulianFobPL.jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription (JavaPluginLoader.java:154) ~ [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar: git-Spigot-db6de12-18fbb24]
at org.bukkit.plugin.SimplePluginManager.loadPlugins (SimplePluginManager.java:133) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar: git-Spigot-db6de12-18fbb24]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins (CraftServer.java:292) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar: git-spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.DedicatedServer.init (DedicatedServer.java:198) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar: git-spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.run (MinecraftServer.java:525) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar: git-spigot-db6de12-18fbb24]
at java.lang.Thread.run (Unknown Source) [?: 1.8.0_181]
Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
… 6 more
here again my plugin.yml file:
main: de.Gudodama.JulianFobPlugin.main.main
name: NoMobPlugin
Version: 1.0
author: Gudodama
commands:
heal:
usage: / heal
description: "Heal yourself."
Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
You packed the plugin.yml in the wrong package.
You have to pack the plugin.yml into the src package.
The problem is that this is in the source .c
Is there anything else you can do or do you have any idea what I could do?
Show me a screen
Um…
Have no idea how I make screen of the pc xd
Google is your friend and helper. Do not ask anything here, try to look for something on the internet
True words.
the same
Could you show where you saved the plugin.yml?
With me the Plugin.yml is stored here