What to do after server is hosted?

So I uploaded a build and created fleet. After that it gives me list of available servers. Test allocation also also works fine.
Now the question is, how to utilize this information in game? how can I get the list of available servers in the game so that players can connect to them as a client only?

Thanks for your question here!

I think you will find these concepts from our integration requirements concepts page particularly interesting with regard to handling allocations on the gameserver side.

Additionally we have the MatchPlay example which shows how we have used Multiplay and Unity Matchmaker in a Unity project to match players onto their requested game types.

In your specific use case where you intend to reveal a server list for your players to pick and choose a server to join you may want to consider a custom Matchmaker that can cache information about your fleet and its allocations by leveraging the Multiplay API. You can implement our APIs how you'd like but I'd recommend a Matchmaker flow like this:

Worth mentioning regarding the session length, currently an Allocation will timeout after 1 hour and the linked server become reallocatable. If the server is still running and is allocated it will be restarted to pickup the new allocation - this mechanism is to keep cost low and player density high by ensures that your server does not run away with the allocation if it has an issue - We are currently working to allow users to set their own Allocation timeout.

Please let us know if I can elaborate on any points or provide any additional documentation to help with this.

Thanks for your reply. Will try to understand guided modules and let you know if further assistance needed. Though, knowing that server timeout is only 1 hour make me sad!

If you have a specific need we can adjust the allocation timeout in our backend whilst we wait for the frontend feature to allow this, please send us a ticket for that so we can track the request it will go a long way to expediting the feature too.

You can file a ticket from the Help & Support page on Unity Dashboard and then scroll to File a Ticket at the bottom.
Choose Multiplayer -> Multiplay

Thanks :)


@jackw_unity thanks for your support, appreciated!