Bug when loading plugin

Discussion in 'Plugin Development' started by djkaye, Mar 25, 2016.

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

    djkaye

  2. Offline

    timtower Administrator Administrator Moderator

    @djkaye Remove the .java from the main path.
     
  3. Offline

    djkaye

    sorry im a noob to making plugins - good at making java games tho - how would I remove the .java from the main path in eclipse?
     
  4. Offline

    timtower Administrator Administrator Moderator

    @djkaye You can just remove the text from the plugin.yml
     
  5. Offline

    mcdorli

    Not in eclipse, in the plugin.yml
     
  6. Offline

    djkaye

    what do I set as main path then?
     
  7. Offline

    timtower Administrator Administrator Moderator

    @djkaye You have your main path in your plugin.yml, you end it with .java, remove that end.
     
  8. Offline

    djkaye

    still does not work
     
  9. Offline

    timtower Administrator Administrator Moderator

  10. Offline

    djkaye

    Code:
    name: features
    main: myplugin.MyFirstPlugin
    version: 1.0
    author: djkaye
    description: a plugin
    commands:
       features:
          description: Explore all the features of this server!
          usage: /<command>
    is my plugin yml
     
  11. Offline

    timtower Administrator Administrator Moderator

  12. Offline

    djkaye

  13. Offline

    timtower Administrator Administrator Moderator

    @djkaye What are you exporting then?
     
  14. Offline

    Zombie_Striker

    @djkaye
    Are you sure you updated the jar file? Are you sure you are using the correct path (I.e are you sure the packagename+class is the same as the path in the plugin.yml)?
     
  15. Offline

    djkaye

    http://imgur.com/a/TSHQM

    and yes zombie

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
  16. Offline

    I Al Istannen

    @djkaye
    I would suggest ticking that checkbox:
    Picture.jpg

    This way it won't just export the source .java files, but also the actual class files.
     
  17. Offline

    djkaye

    that worked
     
    I Al Istannen likes this.
  18. If this has fixed your issue, please mark the thread as Solved.
     
Thread Status:
Not open for further replies.

Share This Page