06-16-2016, 07:24 AM
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":
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?
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.
Could the documentation be changed so it makes this a bit more clear?