s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games

Gamejams

Date
Theme

Date announced very soon. Theme revealed when the jam starts.

$50,000
prizepool
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
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.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter