How do I lock l4d2 server to one campaign only

Post Reply
technut74
New to forums
New to forums
Posts: 14
Joined: Mon Oct 14, 2013 1:29 pm

How do I lock l4d2 server to one campaign only

Post by technut74 » Sun Nov 23, 2014 4:44 pm

I would like to make a helms deep only server. I dont want any other maps or campaigns running on this server. Is there a way to lock the server to only one map or only advertise helms deep and not the default maps.

$atanic $pirit
This is my homepage
This is my homepage
Posts: 251
Joined: Tue Jan 28, 2014 5:32 am

Re: How do I lock l4d2 server to one campaign only

Post by $atanic $pirit » Sun Nov 23, 2014 5:39 pm

Did you try to set the cvar to lock gamemode?

sv_gametypes "coop"
Image

technut74
New to forums
New to forums
Posts: 14
Joined: Mon Oct 14, 2013 1:29 pm

Re: How do I lock l4d2 server to one campaign only

Post by technut74 » Sun Nov 23, 2014 6:44 pm

yes...i did put that in the server.cfg file....the server is locked to survival maps only but I would like to lock it to helms deep only. With that setting only survival maps can be played but people are still playing the default survival maps too. I only want helms deep on this server. Is there a way to stop the server from advertising the default maps and only advertise helms deep?

skye
New to forums
New to forums
Posts: 1
Joined: Sat Jan 10, 2015 5:51 pm

Re: How do I lock l4d2 server to one campaign only

Post by skye » Sat Jan 10, 2015 5:54 pm

To my knowledge, you can't lock out any of the stock campaigns or maps.
However, you can run Sourcemod and then use a plugin to override any user choice, and immediately change the map back to helmsdeep before anyone has even loaded into the game. With that being said, disabling change map votes in-game would be ideal, as well.

Post Reply