Solved Make craftbukkit a maven dependency?

Discussion in 'Plugin Development' started by 61352151511, Jul 2, 2014.

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

    61352151511

    I found a tutorial about how to use the boss health bar but it requires sending packets and all I could get to do that is craftbukkit code, any plugin I've ever made didn't need craftbukkit so I have no idea how to add it as a maven dependency, it's probably really simple and I'm just stupid, any help would be appreciated :)
     
  2. Offline

    chocolate_with

    61352151511

    You can go here http://www.eclipse.org/downloads/ and download
    Eclipse IDE for Java Developers


    It has a maven intergration.., the bukkit wiki has a tutorial for this on how to use this intergration.
    link to bukkit wiki can be found here: http://wiki.bukkit.org/Plugin_Tutorial

    I suggest to use this Eclipse if you want to use Maven.
    It's a lot easier in my opinion and you save your time with it, because else you have to mess around with the Maven source from it's download site.
     
  3. Offline

    61352151511


    I've already made like 5 different plugins, I know how to make them and they work fine, I said I need to know how to make CRAFTbukkit a dependency, It's a different dependency from bukkit I'm assuming because whenever I try (CraftPlayer) it says there's an error and doesn't give me the option to import anything
     
  4. Offline

    chocolate_with

    Like importing craftbukkit to Eclipse?
    If you mean that you must do this(Has to be in eclipse):

    1. Right click your project folder
    2. click 'properties'
    3. click 'Java Build Path'
    4. add external jars
    5. Locate your craftbukkit
    6. click on it
    7. Open it
    8. press 'ok'.

    If not.., then I don't know what you mean.
    Sorry, this is my personal problem.
     
  5. Offline

    fireblast709

  6. 61352151511 CraftBukkit = same repo link, different id. No prizes for guessing what it is. Although if you do need a hint, visit the repo link in browser. :)
     
  7. Offline

    61352151511

    No, I use eclipse, if you prefer something else that's your choice but don't push it on other people.
    Thanks, that helped me find it :)
     
  8. 61352151511 No problem :) In defence of fireblast709 you didn't say or even suggest that you used Eclipse, he was simply pointing out some other IDEs that can be used, not trying to push anything on anyone :)
     
  9. Offline

    fireblast709

    I don't 'push' it, I merely added it so people don't get to see Eclipse as the only IDE out there. In fact, I would encourage people to try them all to pick their favourites.
     
    chocolate_with and AdamQpzm like this.
Thread Status:
Not open for further replies.

Share This Page