Extra Precacher

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Extra Precacher

Post by greenie »

Extra Precacher

[Description]
Some plugins like this already exist, but are unsupported, unfunctional, and so.
This plugin basically precache files that are defined in a configuration file, with some advanced func.
Multiple file extension support. (Defined in plugin)
Multiple file name support. (name.ext, *.ext, *.*)
Useful for plugins that don't have source, maps, motd's and so.
Individual map configuration support.If config for current map "extra_precacher_mapname.ini" doesn't exist, the default file "extra_precacher.ini" will be loaded.

[Info]

You can define the allowed file extensions in source.To add more, just add a "," then the extension ".lol".
new const gValidExt[] = ".wad,.mdl,.spr,.wav,.mp3";
If the file writed in configuration file doesn't exist, won't be precached, to avoid a server warning in console.
Extensions :
name.ext - Precache specified file with specified extension.
*.ext - Precache all files from specified path with specified extension.
*.* - Precache all files from specified path.

get plugin
Post Reply

Return to “Server Management”