Is it possible to get how players' position has changed since last request or on daily/weekly basis?
Is it possible to get how players' position has changed since last request or on daily/weekly basis?
Leaderboard is a powerful tool to retrieve lists for given statistics and currently it does not provide with rank change tracking function. However, there are few workaround solutions.
For single player’s leaderboard changes, we suggest you using GetLeadeboardAroundPlayer, and in OnSuccessCallback, you can get the position of a specified player. It is better to store the position data and retrieval date in player data (Read Only or Internal). Please see how to use player data here.
If you want to collect player information every a regular interval, we suggest you create scheduled tasks via Cloud Script. More details are provided at https://api.playfab.com/docs/tutorials/landing-automation/creating-a-scheduled-task. Please be aware of the execution frequency limitation, In case of API calling failure.
For all player’s position changes, we recommend using a database to manage the historical data and write procedures to handle those data.
2 People are following this question.