# Set Lobby Game Server

{% hint style="success" %}

#### Like what you're seeing?

Support us as a [GitHub Sponsor](/old-kb/where-to-buy/become-a-sponsor.md) and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude.\
\
These articles are made possible by our [GitHub Sponsors](/old-kb/where-to-buy/become-a-sponsor.md) ... become a sponsor today!
{% endhint %}

## Introduction

Sets the game server associated with the lobby.

This can only be set by the owner of the lobby.

Either the IP/Port or the Steam ID of the game server must be valid, depending on how you want the clients to be able to connect.

{% hint style="info" %}
This will raise the [Lobby Game Created](/old-kb/old-toolkit-for-steamworks/unreal/blueprint-nodes/events/lobby-game-created.md) callback for all members.\
\
Once this has been set any new members can read the data by using [Get Lobby Game  Server](/old-kb/old-toolkit-for-steamworks/unreal/blueprint-nodes/functions/get-lobby-game-server.md).
{% endhint %}

## Nodes

You have 4 ways you can set this data depending on what kind of information you want to store and for what use.&#x20;

For example in a traditional Peer-to-Peer set up aka "Listen Server" the lobby owner is the "host" aka server and so we do not need any info thus the `Set Lobby Listen Server` doesn't require any input other than the server to set it on.

In a multiplex dedicated server, you may want to support Steam ID, as well as IP:Port and so the `Set Lobby Dedicated Server - ID and IP Address` is the option you want. In all cases these will all cause the same event to be raised for the members of the lobby.

<figure><img src="/files/thRnPiiKc4CEYfFVqZGU" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.heathen.group/old-kb/old-toolkit-for-steamworks/unreal/blueprint-nodes/functions/set-lobby-game-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
