question

vpaventi avatar image
vpaventi asked

How to get host id from a session started?

Is there a way to get the host id of a session?

apisunity3dsdks
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

·
Neils Shi avatar image
Neils Shi answered

To get the Host ID, you'll need to select a build from the builds overview page and then select the Servers tab at the top. From the Servers page, you can see details of your Virtual Machines (VMs). Please note that the Host ID only shows the last seven characters of the ID. To view the full Host ID, hover over the ID. If you would like to copy an ID select the ID itself, a checkmark will appear next to the ID when complete. 5454-download-4.png


download-4.png (189.4 KiB)
2 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.

vpaventi avatar image vpaventi commented ·

I'm talking about the API

0 Likes 0 ·
Neils Shi avatar image Neils Shi vpaventi commented ·

After a session stared, you can use GetMultiplayerServerDetails to get ServerId (which is equivalent to the host id). If you create the server instance with API RequestMultiplayerServer, you can get the ServerId/host id directly from RequestMultiplayerServerResponse.

1 Like 1 ·

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.