question

Ayrton Olvera avatar image
Ayrton Olvera asked

Get server availability when player tries to reconnect

Hello! I'm working on an Unreal project, and right now my clients can connect to a server and reconnect with the same server IP

I there a way to get the status of that server? in order to allow or not allow the client to be able to reconnect.

Player DataunrealCustom Game Servers
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

·
Gosen Gao avatar image
Gosen Gao answered

You can use API GetMultiplayerServerDetails to get multiplayer server session details. With the ConnectedPlayers and State parameters in the response, you can decide whether it can be connected.

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.