Idea

Jonas Johnsson avatar image
Jonas Johnsson suggested

Get last players login with API and cloud script

It would be great to have an API that would give a list of the last players who login, similar with the playstream debugger in the dashboard. This would be very useful for random matchmaking. As it is now with the random matchmaking, two different players have to try to start a random match at the same time for it to work. If there was an API like the one I mention, it would be easy for the matchmaking to choose a random player as opponent from the last active player list.

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

·
brendan avatar image
brendan commented

We'll also be providing an asynchronous matchmaker later this year, which would help for this. Right now as an alternative, you could use a resetting statistic (check out statistic versioning: https://playfab.com/new-feature-resettable-leaderboards/), so that you could use GetLeaderboardAroundPlayer to get the set of people with statistics close to the current player, who have played recently. Using two leaderboards with overlapping periods would then give you a way to have a rolling list of recent players.

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.

Related Ideas