For those of you who want to get a Left 4 Dead 2 server up and running with cheats enabled, here’s a quick guide. Note that these instructions are for Windows users only.
First, you’ll need to download the Left 4 Dead 2 Dedicated Server software from the Steam store. Once that’s done, extract the files to your desired location and open the "left4dead2" folder.
Next, you’ll need to create a text file called "left4dead2\cfg\server.cfg" and open it in a text editor.
In the server.cfg file, you’ll need to add the following lines:
Now save the file and close it.
Finally, to start the server with cheats enabled, open a command prompt and navigate to the "left4dead2" folder. Then, type in the following command:
srcds -console -game left4dead2 +sv_lan 1 +map c1m1_hotel
And that’s it! Your server should now be up and running with cheats enabled. Enjoy!