could cloud script access to matchmaker api.
could cloud script access to matchmaker api.
Can you describe the specific scenario you are trying to enable? Given that this is posted as a question, the answer is that no, the Server API does not have access to the matchmaker, as the intent is that the client requests a slot in a session directly. But if you can describe in more detail what it is you're trying to do, we may be able to provide some recommendations.
"the answer is that no, the Server API does not have access to the matchmaker"
Is this still true? Are we not able to call:
https://docs.microsoft.com/en-us/rest/api/playfab/multiplayer/matchmaking/getmatchmakingticket?view=playfab-rest
via Cloudscript?
That answer is from 2017, and refers to the old matchmaker, which was only in the Client API. The new matchmaker is very different, and certain operations are expected to be done from a hosting server, like backfill tickets: https://docs.microsoft.com/en-us/gaming/playfab/features/multiplayer/matchmaking/backfill-tickets.
In general, the Matchmaker is designed for use with hosted servers, though you can use it for peer-to-peer games as well.
In terms of calls from Cloud Script, any Entity API call can be made from legacy Cloud Script, though we would strongly urge all developers to adopt the newer Azure Functions Cloud Script.
3 People are following this question.