Plugin not working...

Discussion in 'Plugin Development' started by filurp, Sep 29, 2012.

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

    filurp

    Hi, im Keiran. I have recently started Java coding and Developing Plugins and i am creating a plugin called 'fCommands' which is like a mini Essentials. I have no errors in my .java but when i put the plugin on my server and reload. It doesnt come up... All help is appreciated and thanks in advance!

    http://i.imgur.com/Bq3A3.png - My console after reload
    http://i.imgur.com/lH7dr.png - My plugin.yml
    http://i.imgur.com/3UcJB.png - Main plugin [.java]
     
  2. Offline

    tehbeard

    Right, first off, you need to learn to read the error stacks.
    This tells you that the error is in plugin.yml. "InvalidPluginException: Invalid plugin.yml". This means you didn't give it a required value, or messed up the formatting.

    now, the problem is the tab character. Yaml CANNOT AND WILL NOT accept tabs for indentation. you must use spaces. This is what the "found character `\t`" part is on about.

    Replace tabs in plugin.yml with double spaces and it should start working.

    Hope this helps, have fun developing plugins.
     
  3. Offline

    newboyhun

    Check your yml file : http://yaml-online-parser.appspot.com/
     
Thread Status:
Not open for further replies.

Share This Page