Trouble With plugin.yml

Discussion in 'Plugin Development' started by sebagius7110, Jun 26, 2015.

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

    sebagius7110

    I'm having trouble with my plugin.yml, the server keeps saying it is invalid and I did check with a yml parser and did research. My plugin.yml:

    Code:
    main: me.sebagius7110.IslandWorldGUI.Main
    version: 1.0.0
    name: IslandWorldGUI
    author: sebagius7110
    description: -no desc-
    
    If you need my Main.java code, just ask.

    I know what I did, I put plugin.yml inside my package instead of the /src/ folder. I'm fixing it now.

    UPDATE: Now it's saying it can't find my main class.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 12, 2016
  2. Post the 1st line of your main class and the name of the main class
     
  3. Offline

    Twisted_Panda

    Show me your actual plugin packages & classes
     
  4. Offline

    sebagius7110

    Hope this helps
     

    Attached Files:

  5. Offline

    sebagius7110

    Look above
     
  6. Offline

    Boomer

    file still in wrong spot
     
  7. @sebagius7110
    To make your plugin.yml file in the right place:
    1. Right click on your java project, in your case, IslandWorldGUI.
    2. Hover over new, then click file.
    3. Name the file plugin.yml
    4. Use this to help setup your plugin.yml!
    Plugin YAML - BukkitWiki
    Hope I helped.
     
    Last edited: Jun 27, 2015
  8. Offline

    sebagius7110

    Ok I'll try that soon.
     
Thread Status:
Not open for further replies.

Share This Page