net_option Command

Allows getting or setting SteamNetworkingSockets options such as fake packet lag and loss and is useful for testing network conditions.

Category
Network
Game
CS2 Only
Scope
Local
Cheats
Not Required

Command Arguments

These are the parameters net_option uses. Required arguments must be provided for the command to work.

<Option name>

StringRequired

The name of the network option to retrieve or assign.

<Value>

StringRequired

The value to assign to the specified network option.

Command Builder

Interactive command builder that generates a valid net_option command for in-game use.

0 / 2 required arguments filled

Generated Command

net_option <Option name> <Value>

Command Information

Learn more about how to use net_option effectively.

Argument Data Types

Arguments can be of type String, Number, Bool, or Enum. Provide the correct type for the command to execute correctly.

Required Arguments

Arguments marked as Required must be provided for the command to work. Optional arguments can be left blank.

Command Scope

Commands can be Client-sided or Server-sided. Client-sided commands affect only your game client, while server-sided commands affect the entire server.

Cheats Required

Some commands require sv_cheats to be enabled. If a command has this requirement, it will not run on servers where cheats are disabled.