Setup Help Needed!

Discussion in 'Plugin Development' started by n31ln3t, Nov 21, 2012.

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

    n31ln3t

    Ok, when I put my plugin in the plugins folder, and use start.bat to launch the server. I get a [SEVERE] message saying failed to load plugin.yml. I thought it might just be the yaml spacing problems, so I used one of the online yaml parser, It was fine. Here I have my code and my yaml file on a pastie, please tell me whats wrong and how to fix it:

    Eclipse Code: http://pastie.org/5410944

    Yaml Code: http://pastie.org/5410955
     
  2. Offline

    javoris767

    This happens to me sometimes. Try refreshing eclipse then exporting.
     
  3. if you use the tab to create spacing, it will cause an error.
     
  4. Offline

    n31ln3t

    javoris767: Exporting went fine, just the starting up off the server resulted in a problem with not detecting plugin.yml

    mollekake I didn't use space, and the yaml parser said it was fine.
     
  5. Offline

    beastman3226

    1) Why final?
    Code:
     public final class TrollCatcher 
    2) Just use
    Code:
     getLogger().info("what you want said here"); 
    3) Bukkit automatically tells the server console your plugin is enabled, no need to do it a second time
    4) Your path in your yaml file is wrong, add a period and type your class name again.
     
Thread Status:
Not open for further replies.

Share This Page