AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Custom Files Filter Checker (https://forums.alliedmods.net/showthread.php?t=102632)

Zuko 09-04-2009 15:45

Custom Files Filter Checker
 
2 Attachment(s)
Custom Files Filter Checker 1.4

Tested on TF2, but should work on other mods with sv_downloadfilter cvar.
Plugin logs kicked players in logs/customfilesfilterchecker.log

Version 1.2
- Fixed logging

Code:

/*
 * Custom Files Filter Checker
 *
 * Simple plugin for kicking players who have disabled downloading custom files
 * cl_allowdownload and cl_downloadfilter "none" - players with cl_downloadfilter "nosounds"
 * can join to server.
 * I made this plugin to avoid situations when some players playing with BIG RED ERRORS on screen (eg. missing hat models).
 *
 * Version 1.0
 * - Initial release
 * Version 1.1
 * - Added immunity for complaining admins^^... (for ROOT Admin)
 * Version 1.2
 * - Fixed logging
 * Version 1.3
 * - Redone immunity
 * Version 1.4
 * - Minor Fixes
 *
 * Zuko / #hlds.pl @ Qnet / zuko.isports.pl /
 *
 */


BrutalGoerge 09-04-2009 18:05

Re: Custom Files Filter Checker
 
i have noticed a few clients who have the filter set to all still sometimes do not receive the custom content.

i am not sure what's happening with them. cl_allowdownload/upload seems to have no effect.=\

m4ster 09-04-2009 18:42

Re: Custom Files Filter Checker
 
Why its called "Files Filter" its filtering files ?

Zuko 09-04-2009 18:56

Re: Custom Files Filter Checker
 
Plugin checks if connected players have enabled downloading custom files, if not simply kick them with info in reason.

Quote:

Originally Posted by BrutalGoerge (Post 923157)
i have noticed a few clients who have the filter set to all still sometimes do not receive the custom content.

i am not sure what's happening with them. cl_allowdownload/upload seems to have no effect.=\

maybe connection limits on fast download host?

Zuko 09-10-2009 14:04

Re: Custom Files Filter Checker
 
updated

Zuko 09-20-2009 06:50

Re: Custom Files Filter Checker
 
updated again ;-)

Kadet 09-20-2009 16:25

Re: Custom Files Filter Checker
 
Make please that it was possible to load a file only to selected players. List of these users takes from .cfg file or enter by rcon command (sm_adduser Kadet). And list of this files takes from cfg file.
And also make the list of the files forbidden at the client.
Thanks

Darkthrone 05-17-2010 16:57

Re: Custom Files Filter Checker
 
simple alternative to this plugin, using kac open beta, add these lines to server.cfg:
Code:

kac_addcvar cl_allowdownload equal kick 1
kac_addcvar cl_downloadfilter strequal kick all


sebrok 12-15-2011 17:43

Re: Custom Files Filter Checker
 
nice plug
:)

xomp 12-15-2011 19:30

Re: Custom Files Filter Checker
 
Thanks Zuko, this was something I've been wanting for a long time.


All times are GMT -4. The time now is 11:02.

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