How do i fix plugin.yml?!?!?

Discussion in 'Plugin Help/Development/Requests' started by MaxTheMango, Jun 19, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    MaxTheMango

    When i load op my bukkit server with my plugin on it i get these error messages:

    16:04:40 [ERROR] Could not load 'plugins\MOTD.jar' in folder 'plugins'
    16:04:40 org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
    16:04:40 at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:154) ~[Spigot187.jar:git-Spigot-3ccbe77-a6a57a9]
    16:04:40 at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:133) [Spigot187.jar:git-Spigot-3ccbe77-a6a57a9]
    16:04:40 at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(CraftServer.java:291) [Spigot187.jar:git-Spigot-3ccbe77-a6a57a9]
    16:04:40 at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:198) [Spigot187.jar:git-Spigot-3ccbe77-a6a57a9]
    16:04:40 at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:528) [Spigot187.jar:git-Spigot-3ccbe77-a6a57a9]
    16:04:40 at java.lang.Thread.run(Unknown Source) [?:1.8.0_45]
    16:04:40 Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
    16:04:40 ... 6 more


    Can anyone help me? Btw the plugin.yml is in the normal layout
     
  2. You need to export the plugin.yml too. Make a screenshot of your screen when you export it and post it here
     
  3. Offline

    teej107

    @MaxTheMango
    I know a stacktrace may seem like a bunch of scary words but you should really read them.
     
    AdamQpzm likes this.
  4. Offline

    Reynergodoy

    just create an plugin.yml with all your commands, do you really know what your're doing?
     
  5. Offline

    MaxTheMango

    Last edited by a moderator: Jun 19, 2015
  6. Then you don't have your plugin.yml in the right spot. Whereever it is, delete it. Then rightclick on the project folder -> New -> File -> *enter plugin.yml* -> click done
     
  7. Moved to Bukkit Alternates.
     
  8. Offline

    raymart23

    are you using plugin.getDescription() code at your public void onEnable logger.info ?
     
  9. That hasn't anything to do with his problem
     
    Boomer likes this.
  10. Offline

    raymart23

    @FisheyLP yes it is
    do
    Code:
    getLogger().info(plugin.getDescription().getName() + "Successfully enabled");
     
  11. No because the error is
     
    nlthijs48 and Boomer like this.
  12. Offline

    raymart23

    @FisheyLP oh lol I thought it was nullpointer didn't read it all :p
     
Thread Status:
Not open for further replies.

Share This Page