This plugin intercepts a precache context and use that context to precache custom resources.
You can add any number of resources in the configuration and it will automatically precache them when the map starts.
Any resource type can be added to the configuration.
Warning
Hotreloading this plugin has no effect because the resources can only be precached on map start. If you hotreload the plugin you are supposed to change the map atleast to take effect.
It cannot download the resources for the clients.
Add your resources in the configuration:
{
"Resources": [
"models/props_office/file_cabinet_03.vmdl",
"models/props_exteriors/guardrail512.vmdl",
// ..
// ..
// ..
],
"CreatePrecacheContextSignature": {
// ...
},
"PrecacheResourceSignature": {
// ...
},
"ConfigVersion": 1
}