Left 4 Dead 2 Server.cfg

General Support & Discussion related to the Left 4 Dead series, including L4D2.
tango1ndiatango
No Longer a Newb
Posts: 90
Joined: Wed Dec 23, 2009 10:50 pm
Location: london, on, ca

Left 4 Dead 2 Server.cfg

Post by tango1ndiatango » Sun Jan 03, 2010 4:16 pm

//-----------------------------------------------------------
//--> This server.cfg is custom-created to assist server owners with
//--> setting up their server.cfg. You can copy/paste this text
//--> into your server.cfg or simply cookie cutter and use the
//--> parts that you would like to.
//-----------------------------------------------------------
//--> Updated 01/04/2010
//-----------------------------------------------------------

//--> This is the name for your server
hostname "[Sky] The Sandbox #1"

//-----------------------------------------------------------
//--> (8.9.31.135:27015) [Sky] The Sandbox #1
//--> username: xxxxx password: xxxxx
//-----------------------------------------------------------

//--> Rcon password - Sets the password for remote rcon admin
rcon_password "thereisnorcon"

//--> Gametypes sets the gametypes you want your server to run
//----> Versus Only: sv_gametypes "versus"
//----> Survival Only: sv_gametypes "survival"
//----> Coop Only: sv_gametypes "coop"
//----> Both: sv_gametypes "versus,coop"
sv_gametypes "both"

//--> mp_gamemode sets the gametypes that your server is allowed to run, IE Voting
//----> Versus Only: mp_gamemode "versus"
//----> Survival Only: mp_gamemode "survival"
//----> Coop Only: mp_gamemode "coop"
//----> Both: mp_gamemode "versus,coop"
mp_gamemode "both"

//--> Steam group # to assign to server
sv_steamgroup 0

sm_cvar fps_max 0
//--> Uncaps the servers maxfps limit
//--> (May be restricted by server provider on command line)

//--> Do not connect to the Match Making Service
//--> "0" = Off
//--> "1" = On
sv_steamgroup_exclusive 0

//--> When Enabled, Steamgroup members take priority when joining
//--> The server. However, anyone may join as long as a steamgroup
//--> Member has joined first. Slots are only reserved while they
//--> Are available in this manner, and a minimum of 1 slot is
//--> Reserved, because when a steamgroup member connects to the
//--> Server, other players will be able to connect. If there are
//--> Other players connected and the steamgroup member disconnects
//--> A random player will qualify to fill the remaining slot.

//Allow connections without creating lobby
//--> "0" = Off
//--> "1" = On
sv_allow_lobby_connect_only 0

//--> Default is "0". When Enabled, cannot connect to
//--> Games currently in progress.

//--> All talk - Allow both teams to use audio chat to speak with each other
//--> "0" = Off
//--> "1" = On
sv_alltalk 0

//--> Region - This sets the lobby in which your server will be part of
//--> You will want to set this to the closest location to your server
//--> eastcoast - sv_region 0
//--> westcoast - sv_region 1
//--> south america - sv_region 2
//--> europe - sv_region 3
//--> asia - sv_region 4
//--> australia - sv_region 5
//--> middle east - sv_region 6
//--> africa - sv_region 7
//--> world - sv_region 255
sv_region 0

//--> Allow use of cheats
//--> "0" = Off
//--> "1" = On
sv_cheats 0

//--> Disabled by default. Recommend using Admin Cheats Extension if you
//--> Wish to enable this. See below in this file.

sv_contact "mikel.toth@gmail.com"
//--> Admin Contact email address to display on serverinfo.

// Log Settings
sv_logfile 1
sv_logbans 1
sv_logecho 1
sv_log_onefile 0

// Rate Settings
sv_minrate 20000
sv_maxrate 30000

//sm_cvar mp_gamemode versus
//--> sourcemod override forcing gamemod.
//--> versus, survival, scavenge, coop.

//-----------------------------------------------------------
//--> Custom Modifications for a competitive hike
//-----------------------------------------------------------

sm_cvar director_adrenaline_density 3.56
//--> How much Adrenaline should there be for every
//--> 100 sq ft in each level.

//sm_cvar director_convert_pills 0
//--> Convert all pills to medpacks in non-versus games.
//--> "1" to Enable, "0" to Disable. Default: "0".
//--> server error? If set to 0, disabled medpacks & pills.

sm_cvar director_defibrillator_density 0.0
//--> Reference director_adrenaline_density.

sm_cvar director_pain_pill_density 5
//--> Reference director_adrenaline_density.

sm_cvar director_super_weapon_density 0.0
//--> How much super weapons (Grenade Launcher, etc.)
//--> should there be for every 100 sq ft in each level.

sm_cvar director_tank_force_offer 1
//--> Force the director to spawn a tank on each level.
//--> Remember, the director can only force a tank spawn
//--> On levels that have "possible" spawn locations already.
//--> There are some levels that do not have tank spawn
//--> Locations, and as a result, this does not work on all levels.

sm_cvar director_upgradepack_density 3.56
//--> Reference director_adrenaline_density.
//--> Upgradepack refers to fire rounds, etc.

sm_cvar director_vomitjar_density 3.56
//--> Reference director_adrenaline_density.

sm_cvar versus_tank_chance 1.0000
//--> Percentile chance of tank spawn per team.
//--> Refers to levels excluding first and last per campaign.
//--> "1.0" = 100%, "0.95" = 95%, "0.9" = 90%, etc.

sm_cvar versus_tank_chance_finale 1.0
//--> Percentile chance of tank spawn per team.
//--> Refers to finale level in each campaign.
//--> "1.0" = 100%, "0.95" = 95%, "0.9" = 90%, etc.

sm_cvar versus_tank_chance_intro 1.0
//--> Percentile chance of tank spawn per team.
//--> Refers to only first level of the campaign.
//--> "1.0" = 100%, "0.95" = 95%, "0.9" = 90%, etc.

sm_cvar versus_tank_flow_team_variation 0.0
//--> Refers to the variable chance of tank spawning
//--> in a different spot for each team.
//--> "0.0" = same spawn spot per team.
//--> "5.0" = 5% map distance variation CHANCE.

sm_cvar versus_witch_chance 1.0000
//--> See versus_tank_chance Above.

sm_cvar versus_witch_chance_finale 1.0
//--> See versus_tank_chance_finale Above.

sm_cvar versus_witch_chance_intro 1.0
//--> See versus_tank_chance_intro Above.

sm_cvar versus_witch_flow_team_variation 0.0
//--> See versus_tank_flow_team_variation Above.

sm_cvar tank_stuck_time_suicide 9999999999
//--> Prevents tank suicide when stuck.

sm_cvar versus_boss_flow_max_intro 0.9
//--> Tank can spawn up to 90% of map distance in first level.

sm_cvar versus_boss_flow_max 0.9
//--> Tank can spawn up to 90% of map distance in levels
//--> Excluding the first level.

sm_cvar vs_max_team_switches 9999
//--> Removes the limit of team switches per map.

//sm_cvar director_vs_convert_pills 0
//--> Convert all pills to medpacks in versus games.
//--> "1" to Enable, "0" to Disable. Default: "0".

sm_cvar director_tank_lottery_selection_time "2"
//--> How many seconds the tank waits to give an infected
//--> Player control of the Tank. During this interval
//--> The AI controls the Tank.
//--> Default "4". Set to "0" to remove AI control completely.

sm_cvar z_ghost_delay_max 22
sm_cvar z_ghost_delay_min 22
//--> Maximum/Minimum amount of time (in seconds) for players to
//--> Wait to respawn as the Infected.
//--> Ex: Min/Max both = "22", Infected will ALWAYS have a 22
//--> second spawn timer. If Max = "22" and Min = "15", the
//--> Spawn timer will be random, between 15 and 22 seconds.


//-----------------------------------------------------------
//--> Tougher Witch
//-----------------------------------------------------------

sm_cvar z_witch_damage "100"
sm_cvar z_witch_damage_per_kill_hit "60"
sm_cvar z_witch_flashlight_range "1000"
sm_cvar z_witch_health "2000"
sm_cvar z_witch_personal_space "400"
sm_cvar z_witch_speed "800"
sm_cvar z_witch_threat_hostile_range "1000"
sm_cvar z_witch_threat_normal_range "800"

//-----------------------------------------------------------
//--> There are some items such as medpacks & Defibrillators
//--> that are "static" items in each level. Restricting their
//--> Density to "0.0" will remove all non-static items of its
//--> Kind. There is an plugin that will fix this, but removes
//--> All medpacks including starting medpacks, among other
//--> Things.
//--> This plugin is Confogl. Check it out at
//--> http://code.google.com/p/confogl/
//-----------------------------------------------------------

//-----------------------------------------------------------
//--> Left 4 Downtown v0.4.4 SM Extension Commands
//-----------------------------------------------------------

//--> Description:
//--> Download at http://forums.alliedmods.net/showthread.php?t=91132
//--> Unlock Maximum player slots & Updated Developer
//--> Functionality.

l4d_maxplayers 12
sm_cvar l4d_maxplayers 12

//--> Set to "-1" to disable override, and can be set using
//--> -maxplayers or +maxplayers from cmdline instead of
//--> using l4d_maxplayers "xx" command.
//--> "18" is maximum.

//-----------------------------------------------------------
//--> Admin Cheats SM Extension Commands
//-----------------------------------------------------------

//--> Description:
//--> Download at http://forums.alliedmods.net/showthread.php?t=81101
//--> Allows Admins (or console) to use cheat commands
//--> with sv_cheats 0.

sm_admin_cheats_level "abcdefghijklmz"

//--> Remove // to enable.
//--> z refers to flag. ex: "z", "b", etc.

//-----------------------------------------------------------
//--> Super Versus v1.5.4 SM Extension Commands
//-----------------------------------------------------------

//--> Description:
//--> Download at http://forums.alliedmods.net/showthread.php?p=830069
//--> Allows you to raise/lower player limitations per team
//--> which is normally restricted to "4".
//--> Requires SM 1.3+

l4d_survivor_limit 4
sm_cvar l4d_survivor_limit 4
//--> Maximum number of survivors. Default 4, Maximum: 18.

l4d_infected_limit 4
sm_cvar l4d_infected_limit 4
//--> Maximum number of infected. Default 4, Maximum: 18.

l4d_supertank 0
sm_cvar l4d_supertank 0
//--> Set tank HP dependent on survivor amount.
//--> "1" to Enable, "0" to Disable. Default: "0".

l4d_tank_hpmulti 0.5
sm_cvar l4d_tank_hpmulti 0.5
//--> Tanks HP Multiplier (multi*(survivors-4))
//--> Default: "0.25".

//l4d_XtraHP "0"
//--> Give extra survivor medpacks.
//--> "1" to Enable, "0" to Disable. Default: "0".

l4d_killreservation 1
sm_cvar l4d_killreservation 1
//--> Allows more than 8 players to connect to server.
//--> "1" to Enable, "0" to Disable. Default: "1".

//-----------------------------------------------------------
//--> Snare Speak v1.9
//-----------------------------------------------------------

//--> Description:
//--> Download at http://forums.alliedmods.net/showthread.php?p=851283
//--> Allows players on opposing teams to communicate via
//--> Custom voice channels during "snares".
//--> Ex: Hunter pounces Coach. Hunter & Coach players have a
//--> Private voice channel during this period.

snarespeak_printchannel 1
//--> Prints to chat when voice channel is created/dstroyed.

snarespeak_endofround_alltalk 1
//--> Enables alltalk at end of round.

snarespeak_allowboomer 1
//--> Allows Boomer to create voice channels.

snarespeak_boomertime 10
//--> Time in seconds for boomed survivors to be connected.
//--> Set to 0 to keep channel open until bile wears off.

snarespeak_twoway 1
//--> Allows both the attacker and victim to hear each other.
//--> If set to 0, the victim cannot hear the attacker.

snarespeak_startofround_alltalk 0
//--> Enables alltalk at the start of round, until the safe
//--> Room door is opened. 0 Disables, 1 Enables.

//-----------------------------------------------------------
//--> Remove Lobby Reservation v1.1.0 SM Extension Commands
//-----------------------------------------------------------

//--> Description:
//--> Download at http://forums.alliedmods.net/showthread.php?t=94415
//--> Removes the "maximum" player limit in the server after
//--> players connect from the lobby.
//--> Survival is 4, Versus is 8, etc.
//--> Use in conjunction with servers running >=9 player slots.

l4d_unreserve_full 1
sm_cvar l4d_unreserve_full 1

//--> Set to "1" to automatically unreserve server at "full"
//--> Again, this is 4 for Survival, 8 for Versus, etc.
//--> Set to "0" to require admin to manually enter command.
//--> Type sm_unreserve in console as Admin in-game to
//--> Manually remove the reservation, after the game starts
//--> From the lobby.

//-----------------------------------------------------------
//--> L4D Heartbeat Trigger SM Extension Commands
//-----------------------------------------------------------

//--> Description:
//--> Download at http://forums.alliedmods.net/showthread.php?t=102052
//--> Removes the "maximum" player limit in the server after
//--> players connect from the lobby.
//--> Survival is 4, Versus is 8, etc.
//--> Use in conjunction with servers running >=9 player slots.

sm_heartbeat_auto 1
//--> Makes everyone on the server "heartbeat" when a player
//--> Disconnects. Default: 1 (Enabled.) 0 to Disable.

sm_heartbeat_timeout 20
//--> This is the timeout value between when the command can
//--> be sent.



// Execute ban files
exec banned_user.cfg
exec banned_ip.cfg
writeid
writeip
Last edited by tango1ndiatango on Mon Jan 04, 2010 7:39 pm, edited 1 time in total.

hyperfriend
No Longer a Newb
Posts: 54
Joined: Wed Nov 18, 2009 6:12 pm

Re: Left 4 Dead 2 Server.cfg

Post by hyperfriend » Sun Jan 03, 2010 5:11 pm

neat bro hows star wars

=CAPTAINCANADA=
Click my affiliate link
Posts: 318
Joined: Thu Nov 13, 2008 6:52 am
Location: Canada
Contact:

Re: Left 4 Dead 2 Server.cfg

Post by =CAPTAINCANADA= » Sun Jan 03, 2010 6:06 pm

Thanks Bud!
Image


Image


Image

tango1ndiatango
No Longer a Newb
Posts: 90
Joined: Wed Dec 23, 2009 10:50 pm
Location: london, on, ca

Re: Left 4 Dead 2 Server.cfg

Post by tango1ndiatango » Mon Jan 04, 2010 7:52 pm

server.cfg updated. Take a look.

Still confused on hyper's random star wars comment.

hyperfriend
No Longer a Newb
Posts: 54
Joined: Wed Nov 18, 2009 6:12 pm

Re: Left 4 Dead 2 Server.cfg

Post by hyperfriend » Thu Jan 07, 2010 1:22 pm

knights of the old republic

tango1ndiatango
No Longer a Newb
Posts: 90
Joined: Wed Dec 23, 2009 10:50 pm
Location: london, on, ca

Re: Left 4 Dead 2 Server.cfg

Post by tango1ndiatango » Thu Jan 07, 2010 2:43 pm

Oh. you looked on my steam page.
It's a good game.

Try to keep this related to the topic please.

pitsbrgparatrpr
No Longer a Newb
Posts: 31
Joined: Mon Nov 16, 2009 6:13 pm

Re: Left 4 Dead 2 Server.cfg

Post by pitsbrgparatrpr » Mon Jan 18, 2010 4:12 pm

Question Please. I have Sourcemod running per the Gameservers Update button. I saw the L4Downtown inof you have above, very neat. Wold I just grab that, and unzip it on the server from Gameservers? Never did this stuff before. Or would I unzip it then put it up there. Also, do I need to turn cheats on then? And do I need to type anything in to execute it? Mostly I wanted to up the players 10 or 12 and allow Spectators. Thanks for any help!

tango1ndiatango
No Longer a Newb
Posts: 90
Joined: Wed Dec 23, 2009 10:50 pm
Location: london, on, ca

Re: Left 4 Dead 2 Server.cfg

Post by tango1ndiatango » Wed Jan 20, 2010 7:14 pm

First off, make sure you're running the source mod 1.3 or later snapshot. Until gameservers staff verify
that they've fixed that update button, I can't tell for sure. I install it manually whenever I set up gameservers
for people.
Secondly, when you install left 4 downtown, also install admin cheats. It allows cheats even with sv_cheats 0.
You'll also need Super Versus to enable more than 8 playability slots. However, if you're looking for the extra
4 slots to be spectator only, you only need Left 4 Downtown, and not Super Versus. The respective urls
should be available.
If you have questions just ask.

pitsbrgparatrpr
No Longer a Newb
Posts: 31
Joined: Mon Nov 16, 2009 6:13 pm

Re: Left 4 Dead 2 Server.cfg

Post by pitsbrgparatrpr » Fri Feb 05, 2010 7:29 pm

I was about to grab L4Deadtown and Admin Cheats so I can jack up a few things. I saw this:
Set "sm_admin_cheats_level" to the desired access level, and load the plugin.
This should be set to a flag, ex: "z", "b", etc

As such, once loaded do I add the command line sm_admin_cheats_level 10 to the CFG? I don't understand the level bit. I just want to tweak soem things, drop them in the cfg and have them work. How would I do this once these are installed, what value woudl I put in there, and do I need to do something to initiate it? Thanks... sorry I'm not to good at this.

r2k.Fire
GameServers.com Forum Newb
Posts: 1
Joined: Sat Feb 13, 2010 6:56 am
Location: Europe
Contact:

Re: Left 4 Dead 2 Server.cfg

Post by r2k.Fire » Sat Feb 13, 2010 7:52 am

tango1ndiatango wrote:Oh. you looked on my steam page.
It's a good game.

Try to keep this related to the topic please.
:D What is your Steam page adress ? :wink: I tryed you to AIM ... seems not working :(

DDemon
GameServers.com Forum Newb
Posts: 6
Joined: Thu Jan 21, 2010 9:06 pm

Re: Left 4 Dead 2 Server.cfg

Post by DDemon » Sun Apr 25, 2010 12:27 pm

Great post, thank you.

Do I need the admin cheats to apply the tank and witch tweaks or just SM?

yaznee
GameServers.com Forum Newb
Posts: 1
Joined: Fri Jun 11, 2010 12:06 am

Re: Left 4 Dead 2 Server.cfg

Post by yaznee » Thu Jul 01, 2010 2:22 pm

Hi, Does anybody know how you show damage done to the special infected on screen??? this done through cfg or source mod???

lenthenmartin
GameServers.com Forum Newb
Posts: 4
Joined: Mon Dec 06, 2010 5:22 am

Re: Left 4 Dead 2 Server.cfg

Post by lenthenmartin » Mon Dec 06, 2010 6:47 am

OK to download the new plug-ins ZIP. This does not include SourceMod metamod.

Lebowski
GameServers.com Forum Newb
Posts: 1
Joined: Sun Dec 12, 2010 8:13 am

Re: Left 4 Dead 2 Server.cfg

Post by Lebowski » Fri Dec 31, 2010 11:36 am

Just put this in your cfg file. This is setting, not cheat.
DDemon wrote:Great post, thank you.
Do I need the admin cheats to apply the tank and witch tweaks or just SM?
Image

tango1ndiatango
No Longer a Newb
Posts: 90
Joined: Wed Dec 23, 2009 10:50 pm
Location: london, on, ca

Re: Left 4 Dead 2 Server.cfg

Post by tango1ndiatango » Thu Mar 03, 2011 9:17 am

Just to clarify, any commands that you enter into your server.cfg that contain "sm_cvar " will override the sv_cheats setting. If it's a command that normally requires sv_cheats 1, it will still activate, as long as you use sm_cvar to do so.

I'll get around to posting an update to the first post of this topic, I wasn't aware so many people had viewed this topic.
I've written a new version of snarespeak, and some of the other plugins posted about above.

I have also received a lot of emails concerning server setups, and other server issues. Due to the large volume of emails, I'll simply post an update at the top of this thread, which will hopefully cover most of the topics sent to me through email.

Post Reply