Solved "Jar does not contain plugin.yml"

Discussion in 'Plugin Development' started by Org, May 12, 2013.

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


    Hi! Just started with plugin development so I'm pretty much a total newbie.

    I just finished my first plugin which is supposed to be a logging utility for the chat that stores messages in a remote MySQL database. Pretty simple.

    Now, I start by exporting my whole plugin package + resource files (using Eclipse as IDE) and I get no errors so far. Then I start up my test server running CraftBukkit 1.4.7 with my plugin in the plugins folder and get this error thrown at me:

    [SEVERE] Could not load 'plugins/BitChat.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(
        at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugins(
        at org.bukkit.craftbukkit.v1_4_R1.CraftServer.<init>(
        at net.minecraft.server.v1_4_R1.PlayerList.<init>(
        at net.minecraft.server.v1_4_R1.DedicatedPlayerList.<init>(SourceFile:11)
        at net.minecraft.server.v1_4_R1.DedicatedServer.init(
    Caused by: Jar does not contain plugin.yml
        ... 9 more
    Looks like I have no plugin.yml, right? Well I have created a plugin.yml file that contains this:
    name: BitChat
    main: me.theoriginal.bitchat.BitChat
    version: 1.0
        description: Toggles chat logging.
        usage: /bcl
    I have decompiled the plugin Jar file and the plugin.yml sure is included inside it. Any ideas what I'm doing wrong?


    Resolved! The plugin.yml was inside the package and had to moved up one directory ;)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jun 1, 2016
Thread Status:
Not open for further replies.

Share This Page