Home » SM File/Folder Downloader and Precacher

SM File/Folder Downloader and Precacher

SM File/Folder Downloader and Precacher

Version: 1.4
Author: SWAT_88

1.0 First version, should work on basically any mod
1.1 Added new features:

Added security checks.
Added map specific downloads.
Added simple downloads.

1.2 Added Folder Download Feature.
1.3 Version for testing.
1.4 Fixed some bugs:

Closed all open Handles.
Added more security checks.

Description:

This Plugin downloads and precaches the Files in downloads.ini.
There are several categories for Download and Precache in downloads.ini.
If you write no mapname the plugin downloads it in any map, else the plugin only download the files under the mapname if the map is running.
For more information see examples files.
The downloads_simple.ini contains simple downloads (no precache), like the original.
Folder Download usage:
Write your folder name in the downloads.ini or downloads_simple.ini.
Example:
Correct: sound/misc
Incorrect: sound/misc/

Commands:

None.

Cvars:

sm_downloader_enabled “1” – 0: disables the plugin – 1: enables the plugin

sm_downloader_normal “1” – 0: dont use downloads.ini – 1: Use downloads.ini

sm_downloader_simple “1” – 0: dont use downloads_simple.ini – 1: Use downloads_simple.ini

Modifications:

  • SteamPipe Version – by Powerlord
    • With SteamPipe support.
    • For more information look here
  • SteamPipe Version – by electronic_m
    • With SteamPipe support.
    • For more information look here

Setup (SourceMod):

Install the smx file to addons\sourcemod\plugins.
Install the downloads.ini to addons\sourcemod\configs.
Install the downloads_simple.ini to addons\sourcemod\configs.
(Re)Load Plugin or change Map.

Files

Leave a Reply

Your email address will not be published. Required fields are marked *