View Single Post
larrybrains
Senior Member
Join Date: May 2017
Old 12-27-2019 , 14:13   Re: [L4D2] Only allow certain addons?
Reply With Quote #9

Quote:
Originally Posted by JLmelenchon View Post
I'm interested in that too.
I tried to figure out how to only allow certain addons and couldn't get it working. It would only either show ALL of my addons or none.

In server.cfg I set sv_pure to 1 and in addonconfig.cfg I set default and versus to 0.

And then in whitelist.cfg I tried adding just the vpk file name like:

PHP Code:
whitelist
{
    
left4dead2\pak01_dir.vpk        check_crc
    left4dead2
\steam.inf            check_crc

    left4dead2_dlc1
\pak01_dir.vpk        check_crc
    left4dead2_dlc2
\pak01_dir.vpk        check_crc
    left4dead2_dlc3
\pak01_dir.vpk        check_crc

    update
\pak01_dir.vpk            check_crc

    
//workshop addons
    
left4dead2\addons\workshop\205573853.vpk            check_crc

I also tried adding the individual files from the vpk on each line in whitelist.cfg and that didn't work either.

Does anyone know if this is possible and if so what am I missing?
larrybrains is offline