Development Assistance What i'm doing wrong

Discussion in 'Plugin Help/Development/Requests' started by dawgs_rules, Apr 18, 2016.

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

    dawgs_rules

    Just try learn something new, but i keep get this Error message. I'm guess I don't know how to setup my Main Correctly,

    Error Message:

    Could not load 'plugins\Dawgs_rulesFirstplugin.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: Cannot find main class `me.plugin.dawgs_rulesMyFirstPlugin'

    Full Console Log:
    http://pastebin.com/KQhyY4aZ

    plugin.yml:
    http://pastebin.com/9BLrEqt9

    Screenshot of Package Explorer:

    http://imgur.com/j2o4bjw
     
  2. when you setup the plugin.yml when,
    your main in the plugin.yml
    MUST be linked directly to the class that is the main class , your mistake was you linked it to the package that the main is in!
    so you would change it to :
    me.plugin.dawgs_rules.MyFirstPlugin

    you missed a dot basically remember to check for spelling errors and incorect caps !
     
    Liam Townsley likes this.
  3. Offline

    dawgs_rules


    I put me.plugin.dawgs_rules.MyFirstPlugin and did check for spelling errors.
    still got the same problem.
    Here the Error i got.
    http://pastebin.com/cMPMYjYm
     
  4. Offline

    808sFinest

  5. ah i see what you did ! , you have to link it to the package so it would be
    me.bukkit.dawgs_rules.MyFirstPlugin
     
Thread Status:
Not open for further replies.

Share This Page