Thread: Spray Pruning
View Single Post
Author Message
sslice
Senior Member
Join Date: Feb 2005
Location: Texas, USA
Old 12-06-2007 , 17:07   Spray Pruning
Reply With Quote #1

This simple plugin does one thing only: removes the old spray cache files that build up over time in the downloads/ folder. It does this every time a level is loaded so you don't have to worry about the folder getting too large.

By default, it deletes only the files that have not been accessed in over 7 days.
You can control this using the the sm_spraycachelifetime console variable (defualt value is 7).

Mirror: SteamFriends
Attached Files
File Type: sp Get Plugin or Get Source (spraypruning.sp - 3683 views - 1.6 KB)
__________________

Last edited by sslice; 12-07-2007 at 16:27.
sslice is offline