s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Classes
LobbyConfig
chevron_left Classes
struct
LobbyConfig

Constructors

functionsLobbyConfig

Properties

data_objectAutoSwitchToBestHostdata_objectDestroyWhenHostLeavesdata_objectHiddendata_objectMaxPlayersdata_objectNamedata_objectPrivacy
LobbyConfig
struct Sandbox.Network .
sealedSandbox.Engine

build Constructors 1

LobbyConfig ()

data_object Properties 6

AutoSwitchToBestHost
bool
Whether to periodically switch to the best possible host candidate. This is only applicable to P2P lobbies.
DestroyWhenHostLeaves
bool
Whether to automatically destroy this lobby when the host leaves. This is only applicable to P2P lobbies.
Hidden
bool
Whether to hide this lobby from appearing in the server list. It will still be queryable programatically, so long as the Sandbox.Network.LobbyConfig.Privacy mode allows it.
MaxPlayers
int
The maximum amount of players this lobby can hold. By default, this will be the Max Players set in the current Game Package's project settings.
Name
string
The name of this lobby. If this isn't set, a default lobby name will be chosen instead.
Privacy
LobbyPrivacy
Determines who is able to connect to this lobby. This will be public by default.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter