Hello,
Under the AddPlayerTag API it says "there is a limit on the number of tags a title can have", so does this mean that one title itself can only have a certain amount of unique tags? If so, what is this limit?
This is important for us because players can equip various items to their characters. We want to be able to show this within our leaderboard (max results would be 10 at one time), but calling a cloudscript for each player results in the client being throttled. So, I want to do it through tags with a number for what character the player is using and a number for each item that is equipped. So, one tag would just be numbers seperated by commas and there could be a lot of unique tags.
Thanks!
Answer by Brendan · Jul 17, 2018 at 12:36 AM
Yes, trying to query data for every player in a leaderboard list is always going to be a bad idea, as that generates excessive calls. In terms of tags, a single player can have up to 5 tags. We don't strictly enforce the total number of unique tags within the entire game, but it would be a bad idea to try to overload that with unique tags on every player, as that's not what the system is designed for (and may result in additional limits that we'd prefer to avoid).
Just wanted to say, I solved the problem of needing extra data by formatting the data as parameters for a URL and put it as the AvatarURL for each player. I learned this from another post in the forum. Thanks tho!
Is the Per-Player Tag Limit a hard definition, or are there ways we can have it adjusted?
Under an Enterprise agreement, we can change just about any limit - we just make it part of a custom contract which accounts for the added costs. If you want to look into an Enterprise contract, you can reach our sales team at sales@playfab.com.