Start Parameters

Also known as Command-Line Parameters, Command line arguments, or Launch Parameters.

Many game servers require start parameters, these are command-line options that are set with the server executable when the server starts.

Using game server configs over parameters is preferred, however, sometimes this is not an option. When this is the case only parameters or a mixture of game server config and parameters will be used.

Parameters being used by the game server can be found in ./gameserver details. To alter them, you will need to edit LinuxGSM config files.

Predefined Parameters

LinuxGSM often uses predefined parameters that can be edited. This makes adjusting common settings easier and allows them to be displayed in ./gameserver details.

## Predefined Parameters |

Additional Parameters

Additional command-line parameters can be added to the startparameters setting.

Anything added will be appended to the server executable binary.

Basic Example

Parms variable


startparameters="-game nmrih"

./srcds_run -game nmrih

Full Example

## Server Parameters |
startparameters="-game nmrih -strictportbind -ip -port 27015 +clientport 27017 +tv_port 27016 +map nmo_broadway +servercfgfile nmrih-server-1.cfg -maxplayers 8"

Parameters reference

Last updated