Api Sandbox LaunchArguments
class

LaunchArguments

public static abstract sealed class LaunchArguments

These are arguments that were set when launching the current game. This is used to pre-configure the game from the menu

Properties

Name Type Description
Map static String The map to start with. It's really up to the game to use this
MaxPlayers static Int32 Preferred max players for multiplayer games. Used by games, but not enforced.
Privacy static LobbyPrivacy Default privacy for lobbies created on game start.
GameSettings static Dictionary<String, String> The game settings to apply on join. These are a list of convars.
ServerName static String The hostname for the server.
Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.LaunchArguments