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
gamejamslive now

Game Jam III

Ends Fri 25 Sep
ThemeOne More Round

The jam is running. Build something, or play the entries.

£50,000
prizepool
View the jam
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
inputLog in with Steam
Api
Classes
LobbyConfig
chevron_left Classes
struct
LobbyConfig

Constructors

functionsLobbyConfig

Properties

remove_circleAutoSwitchToBestHostdata_objectDestroyWhenHostLeavesdata_objectHiddendata_objectMaxPlayersdata_objectNamedata_objectPrivacy
LobbyConfig
struct Sandbox.Network .
sealedSandbox.Engine

build Constructors 1

LobbyConfig ()

data_object Properties 6

AutoSwitchToBestHost
obsoletebool
No longer does anything. The host only changes when the current host leaves.
DestroyWhenHostLeaves
bool
Whether to end the game when the host leaves. By default the host hands the game to another player instead. 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