Idea

Niall Muldoon avatar image
Niall Muldoon suggested

Custom Data In Leaderboard

Hi,

It would be great to be able to store some arbitrary data that can be retrieved as part of the leaderboard results. My use case is to store player customisation data so I can then render the remote player.

I have worked around this for now by using the AvatarURL string as a generic data store. Given the 200 character limit though I have had to store an optimised version of the data rather than the JSON string I would like to store, thsi adds extra complexity in serialising/deserialising (that is then duplicated between client and CloudScript).

Some other threads asking for a similar feature (going as far back as 2016 where this feature seemed to be on the way):

https://community.playfab.com/questions/22760/custom-data-in-leaderboard.html

https://community.playfab.com/questions/4273/how-do-i-download-leaderboard-data-along-with-othe.html

https://community.playfab.com/questions/18990/custom-data-for-statistics.html

https://community.playfab.com/questions/8238/how-is-the-proper-way-to-how-additional-user-data.html

Thanks, Niall

Leaderboards and Statistics
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 Comment

·
Niclas Åberg avatar image
Niclas Åberg commented

I second this, here is my use case;

In my racing game each player races using a car of their choice. Each race ends in a crash somewhere on the map.

I'd like to include the car id and the crash position for each entry. This would allow me to show an icon in game with the car type and score on the exact location their race ended.

I also use the AvatarURL, which isn't ideal because since I have multiple leaderboards, and the car id represents the player's active car, rather than the car that was used to set the score.

10 |1200

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

Write a Comment

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

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.