Skip to content

Conversation

@andy013
Copy link
Contributor

@andy013 andy013 commented Dec 19, 2025

Issue: Facepunch/sbox-issues#9743

Changes

  • Add lobby data to steam tags when starting a dedicated server.
  • Log warning if length exceeds limit.

Notes

Currently if you set lobby data with Networking.SetData() before a dedicated server has started, the steam tags are not updated. It just fails silently. This PR fixes this.

It also fails silently if you exceed the 128 character limit, so I added a warning in for that.

I spent way too long playing around with the ANSI colour codes. This is what the warning looks like:

ZUiHa0yZjp

To be honest this is probably a little overkill. A comment mentions that this system will be replaced at some point in the future, but this might help for now.

@andy013 andy013 changed the title Update steam tags when starting a dedicated server. Fix lobby data not being added to steam tags when starting a dedicated server. Dec 19, 2025
@garrynewman garrynewman added the triaged triaged pull-requests are replicated on the internal sbox repo label Dec 22, 2025
@sboxbot sboxbot added the accepted this pull request was accepted, hurrah! label Jan 7, 2026
@sboxbot
Copy link
Contributor

sboxbot commented Jan 7, 2026

This PR has been merged upstream.

@sboxbot sboxbot closed this Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accepted this pull request was accepted, hurrah! triaged triaged pull-requests are replicated on the internal sbox repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants