question

hendra avatar image
hendra asked

How to mark server instances as full ?

Hi, how do i mark server instance as full ?

For example :

- Custom game server with game modes (min 1 players, max 10 players)
- A user cannot find a game (using matchmake), so he creates one himself.

- After a certain time, there's still no one else joining the server, so the game server spawn 9 bots and the game starts.
- How to mark the room as full? so that other players who calls matchmake will not join the room with 1 player and 9 bots but creates one himself?

Thanks

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

If you want to close a server off to matchmaking, despite it not having the max number of players (based upon the Game Mode configuration), you can use SetGameServerInstanceState to close the server to matchmaking: https://api.playfab.com/documentation/server/method/SetGameServerInstanceState.

1 comment
10 |1200

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

hendra avatar image hendra commented ·

Thanks Brendan !

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.