Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
tutorial:server:fliegendes_logo [2009/09/13 11:26] DeaD_EyE |
tutorial:server:fliegendes_logo [2009/10/24 14:00] (aktuell) |
||
---|---|---|---|
Zeile 101: | Zeile 101: | ||
<code>whitelist | <code>whitelist | ||
{ | { | ||
- | // | ||
- | // 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. | // By default, when in pure server mode, most content file types are only allowed to come from Steam. | ||
Zeile 126: | Zeile 107: | ||
models\... from_steam | models\... from_steam | ||
sound\... from_steam | sound\... from_steam | ||
- | + | ||
- | + | ||
// | // | ||
// Allow custom player models. Don't do CRC checks on them because the clients may all | // Allow custom player models. Don't do CRC checks on them because the clients may all | ||
Zeile 134: | Zeile 114: | ||
models\player\... allow_from_disk | models\player\... allow_from_disk | ||
materials\models\player\... allow_from_disk | materials\models\player\... allow_from_disk | ||
- | |||
// | // | ||
Zeile 147: | Zeile 126: | ||
// | // | ||
materials/decals/sosi/*.* allow_from_disk | materials/decals/sosi/*.* allow_from_disk | ||
- | |||
- | // | ||
- | // (Uncomment and edit these for mods). | ||
- | // Allow mod resources to come from disk. | ||
- | // | ||
- | // materials\mymod\... allow_from_disk+check_crc | ||
- | // models\mymod\... allow_from_disk+check_crc | ||
- | // sound\mymod\... allow_from_disk+check_crc | ||
}</code> | }</code> | ||
\\ | \\ |