Solved Plugin won't load due to can't find main [ECLIPSE]

Discussion in 'Plugin Development' started by Dragonborn2105, Jun 12, 2015.

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

    Dragonborn2105

    Hi,
    Im very very new to bukkit coding and I searched up a tutorial here and there
    I checked my code, And I think its crystal
    But I have a bit of an error, the package name I chose was me.Squeezinq_.BattleCry
    I used that package name in the code & plugin.yml, but gets the same error cant find the main
    Can I get a little assistance?
    Idea for BattleCry Plugin: Private Plugin adds a /cry command so that when you do it, it gives in your chat a message saying "Rahhh!!!!" and gives you Strength 2 for unlimited amount of time(or long)
    Screenshots:
    http://gyazo.com/15005fa7cf8ab0f1fadff4c1f82868f9
    http://gyazo.com/16aea4d622f6677a5efb2635eadc9072
    http://gyazo.com/e3d1c382de24366f7e972602ee993635 - Thats from /reload
    Im suspecting something with the getlogger enable & disable causing the problem... Idk, I get no errors
    Please Help!
    Squeezinq_
     
  2. Offline

    timtower Administrator Administrator Moderator

  3. Offline

    Dragonborn2105

    Thank You!
    Although if there were more classes
    We do me.Squeezinq_.BattleCry just right?
    Thanks a bunch also! <3
     
  4. Offline

    timtower Administrator Administrator Moderator

    @Dragonborn2105 The main in the plugin.yml has to point to the class that is extending JavaPlugin, only 1 class should do that per plugin.
     
  5. Offline

    Dragonborn2105

    Right, Thanks!
    Ill probably continue to code some plugins and upload them ^_^
     
Thread Status:
Not open for further replies.

Share This Page