Help with an error!

Discussion in 'Plugin Development' started by DaddyDBJ21, Sep 9, 2013.

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

    DaddyDBJ21

    Hello everybody,
    I'm getting an error when trying to compile my plugin. I'm a newbie, so it's probably something ridiculous, but can somebody please point me in the right direction? Thanks!

    Here's the error:
     
  2. Offline

    Gater12

    DaddyDBJ21 Did you make sure in your plugin.yml you have the correct main file path? Seems like you only put the package name.
     
  3. Offline

    DaddyDBJ21

    Say what? Could you give me an example?
     
  4. Offline

    Gater12

    DaddyDBJ21 For example: my package name is me.mineocraftmc.testplugin and main class file is called main. So in my plugin.yml I would put:
    main: me.mineocraftmc.testplugin.main
    That will tell bukkit to load the file.
     
  5. Offline

    DaddyDBJ21

    OH xD thank you. It works now.
     
  6. Offline

    Gater12

    Your welcome.
     
Thread Status:
Not open for further replies.

Share This Page