# Set Lobby Data

{% hint style="success" %}

#### Like what you're seeing?

Support us as a [GitHub Sponsor](https://kb.heathen.group/old-kb/where-to-buy/become-a-sponsor) 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](https://kb.heathen.group/old-kb/where-to-buy/become-a-sponsor) ... become a sponsor today!
{% endhint %}

## Introduction

Sets a key/value pair in the lobby metadata. This can be used to set the lobby name, current map, game mode, etc.\
\
This can only be set by the owner of the lobby. Lobby members should use Set Lobby Member Data instead.\
\
Each user in the lobby will receive notification of the lobby data change via a [Lobby Data Update](https://kb.heathen.group/old-kb/old-toolkit-for-steamworks/unreal/blueprint-nodes/events/lobby-data-update) callback, and any new users joining will receive any existing data.\
\
This will only send the data if it has changed. There is a slight delay before sending the data so you can call this repeatedly to set all the data you need to and it will automatically be batched up and sent after the last sequential call.

### Lobby Id

The Steam ID of the lobby to set

### Key

The key of the data to set

### Value

The value of the data to set

### Return Value

True if set successfully, false indicates the lobby ID is invalid or the key/value is to long.

## Nodes

<figure><img src="https://4053370152-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZWu8yFOWhCYCMkJFmR%2Fuploads%2FnzOaGwETVrXiXtCsu9pD%2Fimage.png?alt=media&#x26;token=5fe1be86-9541-4dec-bdb4-a7cf62481e8a" alt=""><figcaption></figcaption></figure>
