Add fresh content to your Left 4 Dead 2 game server with addons such as custom campaigns, maps, or skins. In Left 4 Dead 2, addons are .vpk files. This guide explains where to upload them on your server, how to use campaigns from the Steam Workshop, and how to start a new campaign.
You can access your server files directly in the Files tab of your game server, or via SFTP using a program such as FileZilla or WinSCP. Our guide Access via SFTP shows you how to connect via SFTP.
The server loads addons when it starts. Be sure to restart your server after uploading them.
Upload addons that you didn't get from the Steam Workshop, such as a downloaded campaign in .vpk format, to this folder:
left4dead2/addons
Upload campaigns from the Steam Workshop for Left 4 Dead 2 to the same location on the server as in your game: the workshop subfolder:
left4dead2/addons/workshop
The easiest way to get the corresponding .vpk file is from your own game: subscribe to the campaign in the Workshop and launch Left 4 Dead 2 once so it downloads. You can then find the file in your game directory under left4dead2/addons/workshop. Upload it from there to the same folder on your server.
A dedicated Workshop section isn't available in the panel for Left 4 Dead 2. Upload Workshop content as a file, as described above.
Your players need the same addons as the server. It's best to share the campaign's Workshop page link with them so they can subscribe before connecting.
Restart your server after uploading the files. Then open the Console tab and search for your addon maps using the maps command and part of the map name:
maps <part of the map name>
Use changelevel <mapname> to switch to the campaign's first map. To make the server start with this map every time, enter its name in the Starting Map field under Startup Parameters in the Configuration tab, then save your changes.
You can also upload individual maps in .bsp format to the left4dead2/maps folder. The server will load them automatically the next time it starts. Maps with the same name as a standard map will be skipped.
In addition to addons, you can extend your server with SourceMod plugins, for example to add admin features or new game modes. Learn how in our guide Install plugins.