Server.cfg: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(This page does not give any additional information about anything, might as well be a redirect.)
Tag: New redirect
Line 1: Line 1:
Server.cfg is a [[CFG|config]] file that lies in the '''...cfg/''' folder of the game or mod. It is a file that get's executed when a server is launched as dedicated. You can place a list of [[convar]]s inside it for your server specific options that will get executed when the server is launched.
#REDIRECT [[CFG#Common CFGs]]
 
 
 
{{Note|<br>
Explain the operation in more detail.
* Server execute '''...cfg/server.cfg''' file by default, on every map start.
* Console Variables inside the config file, values are reset back on map changes.
* You can change server config file to another, using cvar: [[servercfgfile]]
* However, games like [[Counter-Strike: Global Offensive]], which have different game modes,
  each game mode use Valve's config files '''...cfg/gamemode_*.cfg'''.
  So, there is a big chance one of Console Variables not work from server config file, because
  game mode is overriding that cvar setting.
  In CSGO, to override Valve's game mode setting, you use override config files.
  For example [[Counter-Strike:_Global_Offensive_Dedicated_Servers#gamemode_casual_server.cfg|'''...cfg/gamemode_casual_server.cfg''']]
}}
 
 
== See also ==
* [[listenserver.cfg]]
 
[[Category:Glossary]]
[[Category:Dedicated Server]]

Revision as of 17:49, 11 January 2023

Redirect to: