Skip to content

KillStr3aK/ResourcePrecacher

Repository files navigation

Warning

This plugin has been reworked to only support the precaching functionality from a configuration file.

ResourcePrecacher

This plugin can precache custom resources.

What can it do

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.

What cannot it do

It cannot download the resources for the clients.

Configuration

Add your resources in the configuration:

{
  "Resources": [
     "models/props_office/file_cabinet_03.vmdl",
     "models/props_exteriors/guardrail512.vmdl",
     // ..
     // ..
     // ..
  ],
  "ConfigVersion": 1
}