question

Taran Saini avatar image
Taran Saini asked

Is it possible to create leaderboards with specific time frames?

We want to have leaderboards that display a players stat for the past 30 days (e.g. players wins in the last 30 days). So if a player played for 35 days, the stats from the first 5 days wouldn't be included. This would go alongside our lifetime leaderboard so would be in its own dedicated stat (e.g totalwins - for lifetime, 30daywins - for wins in last 30 days).

Player DataLeaderboards 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 Answer

·
Citrus Yan avatar image
Citrus Yan answered

You can use resettable statistics and leaderboards to achieve this, reset the 30daywins statistic every 30 days and never reset the totalwins statistic, for more details, please see:

https://docs.microsoft.com/en-us/gaming/playfab/features/social/tournaments-leaderboards/using-resettable-statistics-and-leaderboards

1 comment
10 |1200

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

Taran Saini avatar image Taran Saini commented ·

Thanks for help!

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.