s&box docs

public static abstract sealed class Sandbox.LaunchArguments

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

Properties

Showing 5 properties

public static System.Collections.Generic.Dictionary`2<string,string> Sandbox.LaunchArguments.GameSettings { get; set; }

The game settings to apply on join. These are a list of convars.

public static string Sandbox.LaunchArguments.Map { get; set; }

The map to start with. It's really up to the game to use this

public static int Sandbox.LaunchArguments.MaxPlayers { get; set; }

Preferred max players for multiplayer games. Used by games, but not enforced.

public static string Sandbox.LaunchArguments.ServerName { get; set; }

The hostname for the server.

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.LaunchArguments

On this page