View Single Post
dustinandband
Senior Member
Join Date: May 2015
Old 10-18-2017 , 11:16   Re: [L4D2] Only allow certain addons?
Reply With Quote #4

Yeah just tested sv_pure 2 and I was still able to use a silenced weapons addons from steam workshop.
I even loaded a new map and typed "sv_pure" in console and it told me the server was using sv_pure 2.

This is what I tried:
in server.cfg (and autoexec.cfg later):
sv_pure "2"

whitelist.cfg (in the main L4D2 directory before the addons / cfg folders):
https://pastebin.com/Q5FYXnRa
(pulled from a promod server I loaded into, seemed detailed enough + the promod server successfully blocks addons).

----------------

Also, not sure where to find the pure_server_whitelist.txt (for editing sv_pure "1" allowed files). Apparently it's in the hl2 directory by default but I searched the entire L4D2 folder and nothing came up:
PHP Code:
root@seattlejuly28:~# grep -rl "pure_server_whitelist" /home/dustin/Steam/SteamFolder/L4D2_server2
/home/dustin/Steam/SteamFolder/L4D2_server2/bin/engine.so
/home/dustin/Steam/SteamFolder/L4D2_server2/bin/engine_srv.so
root
@seattlejuly28:~

Last edited by dustinandband; 10-18-2017 at 11:17.
dustinandband is offline