Teams Help

Discussion in 'Plugin Development' started by Ty Cleere, Oct 14, 2013.

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

    Ty Cleere

    Ok so i am trying to get a certain team and i am using a (for) but it isnt working... Can anyone tell me how i can fix this or if you know how i can get a certain team using args and getting it out of a hashmap then that would be great! Thanks!
     
  2. Offline

    CubieX

    Post what you have, please.
    Do you already save the team mebers into a hashmap? If so, we need to know how you defined your map.
     
  3. Offline

    Ty Cleere

    CubieX Oh crap! Sorry i meant to put that in there. Here ill put it in now.


    Code:java
    1. for (Player p : Bukkit.getServer().teams.get(args[1])) {
    2.  
    3. }
     
  4. Offline

    MrSparkzz

  5. Offline

    Ty Cleere

  6. Offline

    MrSparkzz

    Ty Cleere
    Is there a YouTuber making a tutorial for teams? Because there have been a lot of new devs coming through here asking for help with teams.
     
  7. Offline

    Ty Cleere

    MrSparkzz Not that i know of... I kinda wish there was tho so i can learn for this haha. Im making this for my uhc plugin thats why.
     
  8. Offline

    MrSparkzz

    That's weird, because normally when most posts from new devs are the same, they're usually coming from a developer that's bad at explaining things or has messy/confusing code.
     
Thread Status:
Not open for further replies.

Share This Page