question

GOOFEES INC. avatar image
GOOFEES INC. asked

About the ranking schedule setting

Hello. I have a question about the rankings. Is there any way to set the start and end time of the ranking? Do you use scheduled tasks or CloudScript as a method?

CloudScriptscheduled tasks
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

·
Made Wang avatar image
Made Wang answered

Both starting and ending a leaderboard can be achieved by resetting. So you need to write a function to reset the leaderboard in AzureFunctionCloudScript. For how to manually reset the leaderboard, you can refer to Using resettable statistics and leaderboards - PlayFab | Microsoft Docs.

Then select Run Cloud Script Azure Function once in Game Manager->Automation->Scheduled Tasks->Type of task, then select Recurring on the right and set the time you want.

If a Scheduled Task cannot meet your requirements, you can also create scheduled tasks that start and end separately.

It should be noted that free users can only get the latest archived version of the leaderboard. Refer to Accessing Archived Tournament results - PlayFab | Microsoft Docs.

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