question

dgupta avatar image
dgupta asked

How many tags can a title have?

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!

limits
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

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).

3 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

dgupta avatar image dgupta commented ·

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!

0 Likes 0 ·
benmadsen avatar image benmadsen commented ·

Is the Per-Player Tag Limit a hard definition, or are there ways we can have it adjusted?

0 Likes 0 ·
brendan avatar image brendan benmadsen commented ·

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.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.