question

lanpartygamesstudio avatar image
lanpartygamesstudio asked

External Matchmaking API access user data

Hello,

For our game we are considering using an external custom match making server, since the matchmaking would be similar to that in Clash Royale: 1vs1 based on player rank which is calculated from the victories / loses.

We are also considering hosting the game servers externally, since each of our server instances (processes) is able to host multiple matches. Thus, hosting it on playfab seems unsutiable since we don't need to spawn a new server process every time a match starts.

However checking the docs it seems that the only user data accessible by the external match maker would be the player inventory: https://api.playfab.com/documentation/matchmaker/method/UserInfo

Is there a way to access PlayerStatistics (or more data) from the match maker API? Are there some other alternatives for the matchmaking to be based on player stats / rank?

Thank you very much!

apisPlayer DataMatchmaking
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

·
pfnathan avatar image
pfnathan answered

The matchmaker process is not limited to just the matchmaker API. That process can make server calls as well. So if you want to look up more data, you can call server.GetPlayerProfile or server.GetPlayerStatistics from that process if you have a PlayFabID.

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.