Why does Factions not have API?

Discussion in 'Plugin Development' started by CoreySeth, Apr 20, 2013.

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

    CoreySeth

    EDIT: Title should be "Why does Factions not have Javadocs?"

    I'm trying to develop a plugin that uses factions as a base, but I can't really develop it that simple without knowing what each method from the Factions classes do.
    Help?

    Also, to knock out 2 questions in the same post, how do I tell if the sender is an ally to a target player that is inputted?
     
  2. Offline

    ZeusAllMighty11

  3. Offline

    CoreySeth

    Im not really sure how to look through stuff in Git
    I'm not really sure how to look through stuff in GitHub, could you point me in the right direction? What is the method for checking if Allies?

    Also, thanks for the reply!
     
  4. Offline

    Lonesface

    I'd learn more Java first. (Assuming you don't know much due to your problem)
     
  5. Offline

    CoreySeth

    I know a great deal of Java, I just don't know how to work with GitHub, as i've never used it. Java isn't the problem, Bukkit/Factions API is the problem because I only just started plugin development 2 days ago.
     
  6. Offline

    Lonesface

    I meant that you should be able to do that yourself with no hassle if you know Java and how libraries work. You should just use Github to browse through the code and spot the methods you need.
     
  7. Offline

    CoreySeth

    Shoot, I just realized a mistake in my title, I meant Javadocs, not API. My mistake.

    But yes, I see where you're coming from, I understand Java, I was just having trouble finding the method for checking if two factions are Allied, because I couldn't find it in the list of methods for working with a command sender.
     
  8. Offline

    Lonesface

    I have no idea how Factions works, but it might have an ArrayList or HashMap for teams that you can tap into. (That is, if they're not private)
     
  9. Offline

    CoreySeth

    Yeah, I've been looking but I can't figure it out, I will sooner or later though! Thanks anyways.
     
  10. Offline

    breezeyboy

Thread Status:
Not open for further replies.

Share This Page