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!
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.
CubieX Oh crap! Sorry i meant to put that in there. Here ill put it in now. Code:java for (Player p : Bukkit.getServer().teams.get(args[1])) { }
Ty Cleere Hmm... this seems awfully familiar... http://forums.bukkit.org/threads/need-help-assigning-players-to-a-team-and-other-stuff.182987/
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.
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.
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.