servercfgfile Command

Explore usage, syntax, and examples for the servercfgfile CS2 developer console command.

servercfgfile

CS2 and CSGO

Command

servercfgfile

<Config File Name>

Set the server’s configuration file to the specified config file.

<Config File Name>

Enter the name of the config file to use as the server's configuration.

sv_cheats Required

No

Client or Server Command

Server

Default Value

server.cfg

servercfgfile Generator

Command

servercfgfile

<Config File Name>
0/1 Arguments Selected

Set the options below to auto-generate your command. When everything looks good, click the Copy button and paste it into your in-game console.

servercfgfile Examples

Command

servercfgfile

example.cfg

Use "example.cfg" as the server's configuration file.