AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Spray Pruning (https://forums.alliedmods.net/showthread.php?t=64041)

sslice 12-06-2007 17:07

Spray Pruning
 
1 Attachment(s)
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

Bloodlvst 12-06-2007 17:19

Re: Spray Pruning
 
While I know these files take up space, do they do anything performancewise?

sslice 12-06-2007 17:28

Re: Spray Pruning
 
They are caches of the sprays uploaded by each client, so yes they are there so that the client does not have to upload their spray every time a new level loads. This plugin only deletes the more or less unused caches of the sprays, so it should have very little affect on bandwidth usage.

ottobohn 12-07-2007 16:55

Re: Spray Pruning
 
Does putting the default days to 0 prevents sprays from gathering at the end of the map?

Is there a way to block sprays in general?

otto

sslice 12-07-2007 19:05

Re: Spray Pruning
 
You can use the CVAR sv_allowupload and set it to 0 to disable sprays. You do not want to use this plugin for the purpose of disabling sprays.

komat 12-15-2007 03:01

Re: Spray Pruning
 
sv_allowupload 0 will disable custom maps or any custom files from the server

sslice 12-21-2007 20:38

Re: Spray Pruning
 
sv_allowupload only prevents clients from uploading sprays (or maybe I am thinking of sv_allowdownload?).

ottobohn 05-07-2008 23:57

Re: Spray Pruning
 
This isn't working on new sourcemod 1.x. Any plans for it and tested?

otto

DJ Tsunami 05-08-2008 03:03

Re: Spray Pruning
 
It's working fine for me on 1.1.0.2119 on both DoD:S and TF2.

ulx 09-15-2009 02:42

Re: Spray Pruning
 
Quote:

Originally Posted by sslice (Post 565707)
sv_allowupload only prevents clients from uploading sprays

so why should anyone set this to 1? are there any benefits when uploading sprays from client to server?


All times are GMT -4. The time now is 18:57.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.