Many game servers require start parameters, these are command-line options that are set with the servers executable when the server starts.
Using game server configs over parameters is prefered, 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.
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 | https://docs.linuxgsm.com/configuration/start-parameters
defaultmap="map_name"
gamemode="game_mode"
maxplayers="42"
port="27015"
sourcetvport="27020"
clientport="27005"
Additional command-line parameters can be added to the startparameters
setting.
Anything added will be appended to the server executable binary.
Parms variable | Executable |
---|---|
startparameters="-game nmrih" |
./srcds_run -game nmrih |
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="-game nmrih -strictportbind -ip 91.121.72.41 -port 27015 +clientport 27017 +tv_port 27016 +map nmo_broadway +servercfgfile nmrih-server-1.cfg -maxplayers 8"
- 7 Days to Die
- Gold Source Servers
- Source Dedicated Servers
- Memories Of Mars
- Natural Selection 2
- Rust
- Squad
- Killing Floor 2