Adding players to teams
#1
I am messing around with the team function, and I want to add several players to an already made team.
However, the documentation is really vague about this.

To be exact, this is the description of "AddPlayer":
Code:
Adds a player to this team. Returns true if the operation was successful.
Together with it requiring a string as parameter, you would think this is clear enough. However, I have no clue if I have to give it the player UUID, or just the player name. I'm guessing UUID since that would be the most robust (won't break if a player changes his nickname), but I'm really not sure.

Could the documentation be changed so it makes this a bit more clear?
Reply
Thanks given by:


Messages In This Thread
Adding players to teams - by PureTryOut - 06-16-2016, 07:24 AM
RE: Adding players to teams - by tigerw - 06-18-2016, 05:39 AM
RE: Adding players to teams - by PureTryOut - 06-18-2016, 06:00 AM
RE: Adding players to teams - by PureTryOut - 06-25-2016, 07:35 PM



Users browsing this thread: 2 Guest(s)