Page 1 of 1

Extra Precacher

Posted: Mon Nov 22, 2021 10:47 pm
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