服务器管理员注意:
首先:
您必须将参数 +sv_pure 1 加进你的服务器中。
Windows:
[安装目录]/srcds.exe -console -game cstrike +sv_pure 1 +map csp_dust2 -maxplayers 16 -autoupdate
Linux:
./srcds_run -console -game cspromod +sv_pure 1 +map csp_dust2 +maxplayers 16 -autoupdate
第二:
这是一个将在未来正式版本中重写过的白名单,请立即更新您的服务器:
"/cspromod/pure_server_whitelist.txt"
{
//
// 3 modifiers are allowed on file specifications:
//
// from_steam - only check the Steam cache for the file (ignore anything on disk)
// allow_from_disk - allow the file to come from disk
// check_crc - used with allow_from_disk - server does CRC checks on the client's file to make sure it matches
//
// The default modifier on all files is allow_from_disk. Thus, all files can come from disk and don't need CRC checks unless
// allow_from_disk can be set at the same time as check_crc. Use the + character in between them to signify this: allow_from_disk+check_crc.
//
// Three types of file specifications:
//
// 1. directory\*.* - refers to all files under the directory
// 2. directory\... - refers to all files under the directory and all directories under that (recursively)
// 3. directory\filename - refers to a single file
//
// By default, when in pure server mode, most content file types are only allowed to come from Steam.
//
materials\brick\... from_steam
materials\carpet\... from_steam
materials\concrete\... from_steam
materials\cs_assault\... from_steam
materials\cs_havana\... from_steam
materials\italy\... from_steam
materials\de_aztec\... from_steam
materials\de_cbble\... from_steam
materials\de_chateau\... from_steam
materials\de_contra\... from_steam
materials\de_dust\... from_steam
materials\de_nuke\... from_steam
materials\de_prodigy\... from_steam
materials\de_tides\... from_steam
materials\glass\... from_steam
materials\decals\... from_steam
materials\effects\... from_steam
materials\de_piranesi\.. from_steam
materials\plaster\... from_steam
materials\overlays\... from_steam
materials\props\... from_steam
materials\skybox\... from_steam
materials\stone\... from_steam
materials\tile\... from_steam
materials\wood\... from_steam
models\... allow_from_disk
sound\... from_steam
//
// Allow custom player models. Don't do CRC checks on them because the clients may all
// have different custom models and the server won't have them all.
//
models\player\... from_steam
materials\models\player\... from_steam
//
// Allow custom spray decals.
//
materials\temp\... allow_from_disk
materials\vgui\logos\... allow_from_disk
materials\vgui\logos\ui\... allow_from_disk
//
// (Uncomment and edit these for mods).
// Allow mod resources to come from disk.
//
bin\client.dll allow_from_disk+check_crc
materials\cspromod\aim\*.* allow_from_disk+check_crc
materials\cspromod\aim_akcolt\*.* allow_from_disk+check_crc
materials\cspromod\aim_arena\*.* allow_from_disk+check_crc
materials\cspromod\aim_pistol\*.* allow_from_disk+check_crc
materials\cspromod\credits\*.* allow_from_disk+check_crc
materials\cspromod\dust\*.* allow_from_disk+check_crc
materials\cspromod\inferno\*.* allow_from_disk+check_crc
materials\cspromod\logos\*.* allow_from_disk+check_crc
materials\cspromod\nuke\*.* allow_from_disk+check_crc
materials\cspromod\season\*.* allow_from_disk+check_crc
materials\cspromod\train\*.* allow_from_disk+check_crc
materials\metal\prodventa2.vmt allow_from_disk+check_crc
materials\metal\prodventa.vmt allow_from_disk+check_crc
materials\models\props\cspromod\aim\*.* allow_from_disk+check_crc
materials\models\props\cspromod\aim_akcolt\*.* allow_from_disk+check_crc
materials\models\props\cspromod\inferno\*.* allow_from_disk+check_crc
materials\models\props\cspromod\nuke\*.* allow_from_disk+check_crc
materials\models\props\cspromod\train\*.* allow_from_disk+check_crc
materials\sprites\*.* allow_from_disk+check_crc
models\props\cspromod\aim\*.* allow_from_disk+check_crc
models\props\cspromod\aim_akcolt\*.* allow_from_disk+check_crc
models\props\cspromod\inferno\*.* allow_from_disk+check_crc
models\props\cspromod\nuke\*.* allow_from_disk+check_crc
models\props\cspromod\train\*.* allow_from_disk+check_crc
scripts\game_sounds_csp.txt allow_from_disk+check_crc
scripts\game_sounds_manifest.txt allow_from_disk+check_crc
sound\common\*.* allow_from_disk
sound\UI\*.* allow_from_disk
}
提示:CSPromod 不支持 sv_pure 2 ,因为我们加载自己定制的文件,但白名单保持干净。确保你的服务参数 sv_pure 一直设置为 " 1 "。
原文链接:Official Whitelist and SV_PURE fix









好