Raised This Month: $51 Target: $400
 12% 

server cfg file?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
water1
New Member
Join Date: Feb 2020
Old 04-20-2020 , 19:45   server cfg file?
Reply With Quote #1

Where can I see what cfg is used for my server cfg
water1 is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 04-21-2020 , 02:34   Re: server cfg file?
Reply With Quote #2

Which game?
TomL. is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-21-2020 , 03:59   Re: server cfg file?
Reply With Quote #3

If you type in server console cvar name, without value:
servercfgfile

...you see which server cfg file it execute every map change
https://developer.valvesoftware.com/wiki/Servercfgfile

But, it is not only file which get executed. You need tell us which game you mean.
__________________
Do not Private Message @me
Bacardi is offline
water1
New Member
Join Date: Feb 2020
Old 04-21-2020 , 11:08   Re: server cfg file?
Reply With Quote #4

Quote:
Originally Posted by TomL. View Post
Which game?
CS:GO
water1 is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 04-21-2020 , 11:26   Re: server cfg file?
Reply With Quote #5

For CS:GO you basically want to work with these 3 configs.

The autoexec.cfg which will be only executed on server start. It should only contain cvar/commands that have to be set only one time such as sv_downloadurl.

The server.cfg which will be executed after every map change. It should contain basic cvar/commands you want to set which will not be changed by game mode or other configs.

The gamemode_X_server.cfg (X is the gamemode name such as casual) which will be executed every map change after the server.cfg. This file should contain all cvar/commands based on the game mode you want to run like mp_roundtime, mp_maxrounds etc..

Last edited by TomL.; 06-05-2020 at 12:24.
TomL. is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:16.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode