Left 4 Dead 2

Left 4 Dead 2

120 ratings
Play Left 4 Dead 2 with more than 4 players in Campaign - 2024 Local Server (8+ players update)
By Maverick
A simple guide that will teach you how to allow Left 4 Dead's local server to host more than 4 players from the in-game lobby.
2
   
Award
Favorite
Favorited
Unfavorite
Acquiring needed files
Note: The finished result can be found in this GitHub repo[github.com], with it you can skip most of the steps here if you need express results. ⏩

You need to download 4 things:
These are all of them downloaded.
Find game directory
After you have all the files we need you need to put them in the right directory of your already existing game.

  • Select the game from your library > Right click on it > Properties
  • Local files > Browse...
  • Open left4dead2 folder

This is the directory (in my case)
  • C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2
we will be installing/moving the files we have downloaded.
Installing needed files
  • mmsource.zip
  • sourcemod.zip
  • abm.smx
  • abm.txt
  • l4dslots.smx
  • l4dslots.txt

We will start with the first one Metamod (mmsource.zip).

You will see that both mmsource and sourcemod zips have a similar folder structure as our game folders

so extract them in their respective folders, meaning that contents from addons in the zip file goes in the addons folder in your game and so on.

sourcemod.zip
Continue with the Sourcemod (sourcemod.zip) and do the same - extract contents in their respective folders (addons in addons, cfg folder in cfg) in your game.


This is how your addons folder should look like after you have finished extracting the files from both zips.

abm.smx & l4dslots.smx
Drop them in .../left4dead2/addons/sourcemod/plugins/

abm.txt & l4dslots.txt
Drop them in .../left4dead2/addons/sourcemod/gamedata/
Basic Configs
Open ../left4dead2/cfg/sourcemod/sourcemod.cfg file with any text editor and add on new line this command/config
  • sv_maxplayers 8

this will make your local server to always start with 8 players as max players.

Make yourself an Admin
Open ../left4dead2/addons/sourcemod/configs/admins.cfg file and yourself like so


you can use this website[www.steamidfinder.com] to get your steam id to put as your identity in that file.
Addons and Launch Options
Subscribe to
  • 8 slots lobby fixed - allows you to see 8 players lobby in your local server

  • Admin System - this is optional, it just gives you some more control over your server as admin, like if you want to fool around and spawn 10 witches for example

As a sanity check, if your addons (Addons menu) are working correctly, they will be white color here
if they are in red color then you need to disable some of the addons that have conflicting files with them. Until they start working.

Add -insecure launch option for the game.
It is necessary as long as you're hosting that custom server, otherwise, you can remove it because this option won't allow you to join the official Left 4 Dead servers.
8+ Players (optional bonus)
In case you are suffering from success and your lobby is more than 8 players, you can download and use L4DToolZ Metamod plugin[forums.alliedmods.net].

l4dtoolz
Drop in .../left4dead2/addons/. You can delete l4dtoolz_mm.so from the folder as its not needed for windows

l4dtoolz.vdf
Drop in .../left4dead2/addons/metamod


Open ../left4dead2/cfg/sourcemod/sourcemod.cfg file with any text editor and add on new line these new cvars:
  • sv_maxplayers 14
  • sv_visiblemaxplayers 14
  • sv_removehumanlimit 1
  • sv_force_unreserved 1

this is how it looks status command if plugin worked, it should say unreserved

Every player after the 8th will need to join after server/game starts and use your IPv4 address[whatismyipaddress.com] followed by 27015 in the game console.

e.g: connect 151.251.110.99:27015
Final Notes
When you open the game you will see this.
It's okay, just proceed by making your local server and enjoy it with all of your friends.

Helpful links

This is all I can think of while making this guide if you have any suggestions or questions let me know down below in the comments. Thank you! 😛

115 Comments
Maverick  [author] 9 Jul @ 8:53am 
try @IagoVariationsOfficial

Note: Some people reported that using l4dtoolz (from the section bellow), works better for them, so if your game crashes try using l4dtoolz instead Left 4 Dead Slots.
IagoVariationsOfficial 8 Jul @ 10:08am 
Yo, my game is crashing when it starts any game, what should i do?
Maverick  [author] 5 Jul @ 10:39am 
@BoogaBoogaChicken likely you didn't do something as described or some cvar maybe you didn't changed, you can try also with the github repo I gave in the beginning and see if it is different


@tazdingoタッズ you can check abm config options maybe you can see something that can help you with your request > https://gitlab.com/vbgunz/ABM#configuration-variables-cvars
BoogaBoogaChicken 3 Jul @ 8:42am 
Hi im new to this, why the 5th player cant join. It says the server is full, i did everything correctly, double checked it. Any answers will help Thank you!
tazdingoタッズ 1 Jul @ 7:40am 
Is there a way to always have 8 survivors spawn no matter how many players? like 1 player with 7 bots or 3 players with 5 bots?
Rosseria🌸 1 Jul @ 5:46am 
@Doggo have you found a way to add more medkits for extra players? Would like to know as well
Maverick  [author] 12 Jun @ 11:25am 
@Doggo I have added a note next to left 4 dead slots, about your input, should be good enough for others to see and hopefully help them

"btw, how can we add more medkits for them extra players?" - try searching some sourcemod plugin about that, probably someone made such already
Sir Doggo 11 Jun @ 5:02am 
btw, how can we add more medkits for them extra players?
Sir Doggo 11 Jun @ 5:02am 
crash when i use left4slots, but works fine when i use left4toolz. hope this help, this guide need updated
Matricsv9 13 May @ 6:46am 
how do you do this for a server you paid for opposed to running it local on your computer