plugin.yml catastrophe! Need help, please!

Discussion in 'Plugin Development' started by FOXmcloud021, Jul 11, 2014.

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

    FOXmcloud021

    Hey, I have been trying to make a plugin and I have been following the instructions by WoopaGaming :https://www.youtube.com/watch?v=b8boV3-oqS8 and I have been having a problem with my plugin on start. Here is what the plugin.yml says:

    And my Superheat.java

    also, here is my SuperheatListener.java:

    This is what all is in my plugin files, everything is correct as I checked it from the WoopaGaming channel, but when I run my server [!and note that I have no other plugins installed!] this is what it says on my console:

    so, notice log 8 in the console:

    So, what the heck does this mean?!?!?! I have correctly set up everything and made sure that the plugin.yml is in the .src file and not in the package, but none of it helps! somebody please help me solve this issue quick!

    -Thank you SO much
    FOXmcloud021
     
  2. FOXmcloud021 The plugin.yml file doesn't go inside the src folder. Here's a small picture example:
    [​IMG]
     
  3. Offline

    teej107

    FOXmcloud021 If your code reflects WoopaGaming's coding style, then you need to find a better tutorial.
    As for your yml, try this. https://forums.bukkit.org/threads/plugin-yaml-creator-make-your-plugin-yml-with-ease.280878/
    DJSkepter I don't think it matters. The error is in his yml file, which means Bukkit has found the file and has thrown a stacktrace because it is invalid.
     
  4. teej107
    Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
     
  5. Offline

    teej107

    DJSkepter Well I obviously missed that part of his stacktrace. xD
    As he shown above, put the plugin.yml in your project folder, not the src folder.
     
    DJSkepter likes this.
  6. Offline

    FOXmcloud021

    Thanks so much, dude! that helps alot, I will try it and report what happens!

    yo, Thanks so much for that link, i will try the program out, thanks


    .party()

    Alright, I tried all of this and it STILL wont work, I looked this error up and it seems that almost nobody has been able to fix this problem


    .party()

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  7. Offline

    iTornado1234

    FOXmcloud021 When ever you export, be sure to include the plugin.yml file.
     
  8. Offline

    FOXmcloud021

    when I export my things, I always remember to keep the plugin.yml, I still have no idea what is goin on :/
     
  9. Offline

    xTigerRebornx

    FOXmcloud021 Either you aren't exporting it, or its not in the root directory of your jar. Open up the jar after you export it with something like 7zip or WinRar and see if its in the right place.
     
  10. Offline

    iTornado1234

    xTigerRebornx I don't think you can open jar files with 7zip. Either way I use Java Decompiler GUI
     
  11. Offline

    teej107

    Make sure the yml is in the root of your project and that you are exporting it. If it is a different error, post it.
     
  12. iTornado1234 You can open them with 7zip. The problem with JD-GUI is that you can't open YAML files (and you can't open .class files with 7zip).
     
  13. Offline

    Necrodoom

  14. Offline

    Bammerbom

    FOXmcloud021 Can you send me a printscreen of your export settings?
     
  15. Offline

    FOXmcloud021

    file:///C:/Users/Wes/Pictures/VideoWebDownloader/Untitled.png
    file:///C:/Users/Wes/Pictures/VideoWebDownloader/Untitled2.png
    file:///C:/Users/Wes/Pictures/VideoWebDownloader/Untitled3.png
    here ya go.

    well, dang, I dont have facebook or any of these, so I cannot pist a printscreen

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  16. Offline

    Bammerbom

  17. Offline

    Necrodoom

    FOXmcloud021 you need an image hosting site, such as imgur.
     
  18. Offline

    FOXmcloud021

    i dont have any of those, and Im a minor, so my parents say no social stuff like that other than Instagram (which I am banned from)
     
  19. Offline

    Necrodoom

    FOXmcloud021 I'm sure you can upload a non personal image to a website then link it.
    Also, if you are banned from all social websites (and even non-social ones like image host services) by your parents, I'm not exactly sure how you made it here, a social website which is a forum.
     
  20. Offline

    FOXmcloud021

    thats aside the question, I am still having serious issues with this!
     

    Attached Files:

  21. Offline

    Necrodoom

    That IS the question.

     
  22. Offline

    FOXmcloud021


    alrighty, will-do, now that I have a tumblr to use it on:
    [​IMG]
    [​IMG]

    [​IMG]
    I hope this will help!
     
  23. Offline

    Bammerbom

    FOXmcloud021
    It looks like the plugin.yml doesnt exist, I dont see it in your export settins too.
    Is it in the package?
    It needs to be in the pure folder (The same folder where the src is located)
     
  24. Offline

    FOXmcloud021

    look at the second picture
     
  25. Offline

    Waffles87

    Have you tried running your plugin.yml text through an online yml parser? There could be hidden characters or something; for example I've sometimes run into problems with my plugin.yml when I've copied and pasted text into it. In those cases I just type out the blocks I copied manually and it goes away. (YML is yucky.)

    Put the whole text through here: http://yaml-online-parser.appspot.com/

    Then you can screw with it until it accepts it and parses it correctly. If you put it through there and it works right away, then it's probably not a yml parsing problem.
     
  26. Offline

    FOXmcloud021

    Thankyou so much! I will try this out

    Well, I tried it, and this is what I got:
    [​IMG]

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  27. Offline

    Waffles87

    Well it's parsing fine, but I thought you were working on SuperHeat, whereas you've got RefiniMiner in this plugin.yml and in the images you posted you exported to RefiniMiner.jar. Are you getting mixed up between different plugins you're working on?
     
  28. Offline

    Pokechu212

    FOXmcloud021
    tinypic.com
    //OFFTOPIC Upload a screenshot there, look on the bottom left corner and copy/paste the forum code.
     
  29. Offline

    Bammerbom

    FOXmcloud021
    Oh didnt see that.

    Try making Author lowercase, but for else I have no idea.

    Make sure you export and test the correct jar file (Yes I have experience with that... xD)

    Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
     
  30. Offline

    FOXmcloud021

    the plugin.yml's are the exact same.

    and also, I have not been gettin mixed up, I make sure I have all of the stuff highlighted correctly and put in the right place

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

Share This Page