Issues starting

Discussion in 'Bukkit Discussion' started by Moon_werewolf, Jan 12, 2011.

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

    Moon_werewolf

    Ok i have apparently read wrong. "ease-of-use" that is just wrong i try a long time to get this .... to work. i only get error messages. hMod was 1000 time easier,

    1.download
    2.add jar to library
    3.code!

    This thing take so long time to set up and then i think im done and can CODE! the main file is 62 code rows long...

    but this is not done so maybe then it get to version 1.0 it is easy to use but now it is just a Ghaa!!!

    Silentspy: edited the title, please keep your language clean.
     
  2. Offline

    Fewmets

    Moon_werewolf, if you could please explain the issue you're having maybe someone could help you. Please answer at least these questions:
    1) is the error you're having with Bukkit (trying to make a plugin) or Craftbukkit (trying to make a server)? I would assume bukkit since you're talking about coding. if that's the case are you trying to do this with bukkit, or are you accidentally using the wrong one?
    2) What error/issue are you having? Please be more in depth with this than just "error messages".
    3) what things have you tried to resolve the issue?

    I'm not a mod or developer, however a mod will be able to help you better when they get around to you if they have this info.
     
  3. Offline

    Ben S

    Actually compiling bukkit plugins is about as easy, but just different. The compile/build system uses Maven. If you head over to the Plugin Development forum, there is a thread that has a plugin development kit.
     
  4. Offline

    Moon_werewolf

    ok. i have follow this every step-by-step
    http://www.youtube.com/watch?v=QWbhHRvjAUc

    Then i downloaded this (bukkitpluginkit.zip)
    http://forums.bukkit.org/threads/plugin-development-kit.271/

    After that i download this (a SamplePlugin)
    https://github.com/Dinnerbone/Bukkit/tree/master/sample/src/com/dinnerbone/bukkit/sample

    I added Bukkit in the SamplePlugin's Java Build Path
    Right click -> Properties -> Java Build Path -> add.. -> Bukkit

    Then i exported it as a JAR file in the plugin folder in there server
    i named the JAR file SamplePlugin

    then i started the server and this comes
    http://213.65.196.41/Other/ErrorMessage.txt

    I tested /pos but i only got a small error in the server console
     
  5. Offline

    Selbram

    This line:
    "org.bukkit.plugin.InvalidDescriptionException: version is not defined"

    in your plugin.yml file you need to have a line that says "version: blah" with blah being a number or something.

    Selbram
     
  6. Offline

    Moon_werewolf

    Are the any other better sample plugins?

    i get after adding version
     
  7. Offline

    Selbram

    Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
     
  8. Offline

    Moon_werewolf

    After about 10 attempts editing the plugin.yml i finnaly got this to work.. thx but i still think this is unnecessarily complicated
     
  9. Offline

    Master_rg

    I'm sorry but if you are unable to write a simple plugin.yml, you should think of doing several java tutorials first.


    Regards
     
  10. Offline

    Moon_werewolf

    I have. i made mods in hMod. but that thing was simple and easy-to-use. this sh*t is so much "junk" code. was it wrong with haveing like this
    public class mGold extends Plugi

    EDIT:
    ok after some thinking and i recoded the file a bit i got the plugin to work and only use one .java file :)

    instead of have a plugin.yml and multi .java files? just to print out hello world
     
Thread Status:
Not open for further replies.

Share This Page