Sign In Register

How can we help you today?

Start a new topic

Team "Max Members" not effective

I have a team type setup with a max membership of 10 and I'm able to add 10, 12, 15 users to that team without the API's complaining.

Hey Arnold,

Looks like your current game has only the one team-type with the max-memeber set to 2. Is that right?



yes, that's correct

Hey Arnold,

I just wanted to clear up for anyone who comes across this post later that you were having problems adding members using the SparkTeam.addMember call in cloud-code. This call was ignoring the max-members restriction, and just letting you keep add players to the team.
This is a problem we are looking into, but until it is fixed we advise you to use the JoinTeamRequest() instead of adding team-members directly through code.