question

Brent Batas (Lisk) avatar image
Brent Batas (Lisk) asked

Use case for ExternalMatchmakerEventEndpoint

What exactly is the use-case for

the ExternalMatchmakerEventEndpoint in Matchmaker.StartGame?

https://api.playfab.com/documentation/matchmaker/method/StartGame

I'm currently getting InvalidParams with my StartGame call because I left this field blank. I'm currently thinking of passing in "" just so I pass something. But it makes me feel uncertain so I thought I'd ask.

Custom Game ServersMatchmaking
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

·
brendan avatar image
brendan answered

It's for developers who are using external matchmakers, so that their matchmaker server can get the info on sessions that close (specifically, the event is "game_ended"). If you're not using one, feel free to pass in null.

4 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Brent Batas (Lisk) avatar image Brent Batas (Lisk) commented ·

Okay, that is what I thought. Thanks!

Maybe in the future, it could be changed to a non-Required parameter?

0 Likes 0 ·
brendan avatar image brendan Brent Batas (Lisk) commented ·

Yes, I'm opening a work item on that, as it does feel like a reasonable change.

1 Like 1 ·
jasonl avatar image jasonl commented ·

null did not work, "http://www" did. If it's not really a required parameter an update to the API would be great. Or returned error messages that detail which parameters are still invalid. Incase a developer uses the forum to find answers and uses values provided by the PlayFab team.

0 Likes 0 ·
brendan avatar image brendan jasonl commented ·

Can you clarify your question? The ExternalMatchmakerEventEndpoint parameter is a required parameter in the Matchmaker API: https://api.playfab.com/documentation/Matchmaker/method/StartGame.

0 Likes 0 ·

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.