Template:PatchDiff/March 6, 2013 Patch (Beta)/tf/cfg/pure server whitelist example.txt

From Team Fortress Wiki
Jump to: navigation, search
N/A1whitelist
N/A2{
N/A3 // Example custom server whitelist.
N/A4 //
N/A5 // Do not modify this file. Instead, rename this file to "pure_server_whitelist.txt" and then modify it as appropriate.
N/A6 // The file cfg/pure_server_whitelist.txt is used in "sv_pure 1" mode.
N/A7 //
N/A8 // This table is used on top of pure_server_whitelist_base.txt. With "sv_pure 2", only the base whitelist
N/A9 // table is used.
N/A10 // You can have different whitelists per game by putting the file in the game folder, e.g. tf/cfg/pure_server_whitelist.txt
N/A11 //
N/A12 // 3 different modes can be used:
N/A13 //
N/A14 // trusted_source - require file to be loaded from a "trusted source".
N/A15 // A trusted source is a VPK that is signed with one of the public keys listed
N/A16 // in trusted_keys_base.txt or trusted_keys.txt.
N/A17 // check_crc - Let client use files from any source, but client must send checksum to server
N/A18 // any - Client can use file from any source and doesn't need to send CRC to server.
N/A19 //
N/A20 // For historical purposes, the following strings are also allowed:
N/A21 //
N/A22 // allow_from_disk - same as "any"
N/A23 // from_steam - same as "trusted_source"
N/A24 // allow_from_disk+check_crc - same as "check_crc"
N/A25 
N/A26 //
N/A27 // Three types of file specifications:
N/A28 //
N/A29 // 1. directory\*.* - refers to all files under the directory
N/A30 // 2. directory\... - refers to all files under the directory and all directories under that (recursively)
N/A31 // 3. directory\filename - refers to a single file
N/A32 
N/A33 //
N/A34 // Allow custom player models. Don't do CRC checks on them because the clients may all
N/A35 // have different custom models and the server won't have them all.
N/A36 //
N/A37 models\player\... any
N/A38 materials\models\player\... any
N/A39 
N/A40 //
N/A41 // Allow custom spray decals.
N/A42 //
N/A43 materials\temp\... any
N/A44 materials\vgui\logos\... any
N/A45 materials\vgui\logos\ui\... any
N/A46 
N/A47 //
N/A48 // Allow "mymod" resources to come from disk, but they need to match the ones I'm using.
N/A49 // (Alternatively, you could distribute the mod as a signed VPK, and put the public key
N/A50 // in your trusted_keys.txt file.)
N/A51 //
N/A52 materials\mymod\... check_crc
N/A53 models\mymod\... check_crc
N/A54 sound\mymod\... check_crc
N/A55}
N/A56