Left 4 Dead 2

Left 4 Dead 2

L4D2 Custom Campaigns: Complete Addon List
 This topic has been pinned, so it's probably important
dustin  [developer] Apr 5, 2018 @ 10:30am
Server Installation
Requirements:
  • 25GB disk space
  • Linux operating system

Instructions:
  • Use Steam Workshop Downloader[github.com]
  • Entering the following command after creating a 'workshop' directory within the 'addons' folder:
    # Need to edit this part: "/path/to/addons/workshop" ./workshop.py -o /path/to/addons/workshop 1326163741

  • After downloading the maps you'll have to reboot your game server.


Adding new maps:

If you plan on installing your own workshop collection or adding a new maps after uploading this collection, it's highly encouraged to use vpkcheck[github.com] to ensure no maps will potentially change server settings and cvars globally (you can read about the problem here):

#First we're going to install pip and the vpk package apt-get install python3-pip pip3 install vpk ./check_vpks.py -m /path/to/left4dead2

Server auto-reboot

If you want to keep your server from staying on custom maps after all players leave you can use this plugin (requires a cronjob and shell script to work properly - linux only):
Last edited by dustin; Apr 12, 2018 @ 10:46am
< >
Showing 1-1 of 1 comments
dustin  [developer] Apr 6, 2018 @ 5:59pm 
Updated the Steam Workshop Downloader link to a new version that prints out the names of the campaigns and only retries downloading failed maps 25 times. Makes it easy to pinpoint which maps are getting hung up.

Since the failed downloads are now limited to 25 retries, you could automate your server (if you wanted) by doing something like setting up a cronjob task that launches the workshop script every x amount of days - to check for any map updates - and not have to worry about the script getting hung up forever if any maps failed to download. The "server auto-reboot" plugin (mentioned in this guide) would ensure the server automatically restarts sometime after the automated update.
Last edited by dustin; Apr 12, 2018 @ 10:49am
< >
Showing 1-1 of 1 comments
Per page: 1530 50