Problem with the plugin development

Discussion in 'Plugin Development' started by Iamdone, Jan 15, 2011.

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

    Iamdone

    Hello guys.
    I have 2 little problems.. I'm new at Java and i tryed to follow the "Programming A Plugin" - Guide but i got the following two errors.

    The First Error ist on every class..
    In the second i dont know what i should enter.

    [​IMG]
     
  2. Offline

    MarkusNemesis

  3. Offline

    Iamdone

    okay i changed everything but theres also this:

    "
    Multiple markers at this line
    - The declared package "" does not match the expected package
    "com.iam.bukkit.jpg"
    - The declared package "" does not match the expected package
    "com.iam.bukkit.jpg"
    "
     
  4. Offline

    MarkusNemesis

    Java is capital sensitive.

    and have you set the package? or do you have freefloating files?

    where it says "SamplePlugin" you want the folder that has all your .java files in it.
     
  5. Offline

    Iamdone

  6. Offline

    MarkusNemesis

    your .yml file is a little wierd. your "main:" is to be the same as your package, but in your case, with an additional .jPg at the end.

    so it should be "main: com.iam.bukkit.jPg,jPg"
     
  7. Offline

    Iamdone

    Is there anywhere a sample projektfolder because I can't get it work.. i tryed to put an .jPg at the end but it also wont work..
     
  8. Offline

    MarkusNemesis

Thread Status:
Not open for further replies.

Share This Page