Auto-exec

Post Reply
90D5p33D
New to forums
New to forums
Posts: 2
Joined: Sun Mar 29, 2020 9:37 am

Auto-exec

Post by 90D5p33D » Sun Mar 29, 2020 9:44 am

I have put some settings in the gamemode_casual.cfg file and it executed properly once then after a server restart it doesnt work anymore pls healp btw there is no plugin for the thing im doing

User avatar
Spray
Staff
Staff
Posts: 586
Joined: Wed Dec 28, 2011 10:41 pm
Location: Oregon

Re: Auto-exec

Post by Spray » Sun Mar 29, 2020 10:03 am

For custom settings, you will want to use the gamemodes_xxxxxx_server.cfg files, which override their respective gamemodes_xxxxxx.cfg files. You don't want to use the non _server.cfg files, as the originals are overwritten every time a game update comes out.

As an example, if you're running the classic casual gamemode, you'd want to adjust the gamemodes_casual_server.cfg file, not the gamemodes_casual.cfg file.

User avatar
Edge100x
Founder
Founder
Posts: 12362
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Auto-exec

Post by Edge100x » Sun Mar 29, 2020 9:52 pm

Our control panel also discusses this in depth on the "File manager" page. That is an easy place to change any of these files.

90D5p33D
New to forums
New to forums
Posts: 2
Joined: Sun Mar 29, 2020 9:37 am

Re: Auto-exec

Post by 90D5p33D » Tue Mar 31, 2020 11:14 am

Sorry for the late reply but this does not work either.
These are the commands I'am trying to run
mp_roundtime_defuse 60
mp_roundtime_hostage 60
mp_roundtime 60
mp_freezetime 0
mp_maxrounds 100

User avatar
TimeX
Staff
Staff
Posts: 1431
Joined: Thu Jul 22, 2004 12:24 am
Location: Big Bear, CA

Re: Auto-exec

Post by TimeX » Tue Mar 31, 2020 2:12 pm

Are you certain it is set in the correct config for the game mode you are running? Also, are these same settings also in your server.cfg file (they should only be in the game mode file)?
TimeX

Post Reply