SRCDS Steam group

How to lock gamemode

I wonder how to properly lock the gamemode. For example i want to have coop-only server but setting sv_gametypes "coop" doesn't do the thing.

If you have any ideas it would be great.
What game are you talking about?
What is your startup line?
What is your server.cfg?
Any other information about your server would be nice helpful.
Looking for a game server? Visit and pick one up as low as $2.50 / mo!
The game is left4dead.

Starup line:
screen -A -m -d -S l4d1 ./srcds_run l4d -pingboost 3 -ip $ip -port 27201 +map l4d_hospital01_apartment

hostname " [] #1"
rcon_password ""

// Server Cvars
mp_disable_autokick 1 //Prevents a userid from being auto-kicked
sv_allow_wait_command 0 //Allow or disallow the wait command on clients connected to this server.
sv_alltalk 0 //Players can hear all other players, no team restrictions
sv_alternateticks 0 //If set, server only simulates entities on even numbered ticks.
sv_cheats 0 //Allow cheats on server
sv_clearhinthistory 0 //Clear memory of server side hints displayed to the player.
sv_consistency 1 //Whether the server enforces file consistency for critical files
sv_contact "" //Contact email for server sysop
sv_pausable 0 //Is the server pausable.
sv_gametypes "coop"

// Lan or internet play, Server region cvars
sv_lan 0 //Server is a lan server ( no heartbeat, no authentication, no non-class C addresses )
sv_region 3 // Region Codes: 0 - US East coast, 1 - US West coast, 2 - South America, 3 - Europe, 4 - Asia, 5 - Australia, 6$

// HTTP Redirect
sv_downloadurl ""

// Server Logging
sv_log_onefile 0 //Log server information to only one file.
sv_logbans 1 //Log server bans in the server logs.
sv_logecho 0 //Echo log information to the console.
sv_logfile 1 //Log server information in the log file.
sv_logflush 0 //Flush the log file to disk on each write (slow).
sv_logsdir "logs" //Folder in the game directory where server logs will be stored.

//Server Rates
sv_maxcmdrate 100 //(If sv_mincmdrate is > 0), this sets the maximum value for cl_cmdrate.

sv_allow_lobby_connect_only 0

Thank you for the reply Smile

Forum Jump:

Users browsing this thread: 1 Guest(s)