question

Joe Hopkins avatar image
Joe Hopkins asked

Quarterly Leaderboard Reset Frequency

Will there be an option in the future for a longer Leaderboard Reset Frequency? The longest option is a month, most games like Brawl Stars and Fort Nite have much longer seasons than a month.

Having only a month long season makes it harder to manage content for that season, it is a fast pace.

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 Answer

·
Neils Shi avatar image
Neils Shi answered

Currently, PlayFab doesn’t have plan to provide a longer Leaderboard Reset Frequency. As a workaround, you can create a Scheduled task and set when to run this task. And in the “Type of task” field, you can choose “Run Cloud Script Azure Function once”. Then you can use API Player Data Management - Increment Player Statistic Version - REST API (PlayFab Admin) | Microsoft Learn to reset the leaderboard anytime you want to via the Azure Function. For more info, please refer to Scheduled tasks quickstart - PlayFab | Microsoft Learn.

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

Joe Hopkins avatar image Joe Hopkins commented ·

This adds too much complexity to our implementation. In addition to doing what you described we would also have to implement the timer again on how long until the leaderboard reset.

0 Likes 0 ·
Neils Shi avatar image Neils Shi Joe Hopkins commented ·

Could you tell us why you need to implement the timer on how long until the leaderboard reset? You can set the execution time (leaderboard reset time) directly in the scheduled task without implementing an additional timer.

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.