Raised This Month: $100 Target: $400
 25% 

Custom Files Filter Checker


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Zuko
SourceMod Donor
Join Date: Sep 2006
Location: Poland
Plugin ID:
1135
Plugin Version:
1.4
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    9 
    Plugin Description:
    Simple plugin for kicking players who have disabled downloading custom files
    Old 09-04-2009 , 16:45   Custom Files Filter Checker
    Reply With Quote #1

    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 /
     *
     */
    Attached Files
    File Type: sp Get Plugin or Get Source (customfilesfilterchecker.sp - 1250 views - 2.7 KB)
    File Type: txt customfilesfilterchecker.phrases.txt (674 Bytes, 592 views)
    __________________

    Last edited by Zuko; 09-20-2009 at 07:50. Reason: new version
    Zuko is offline
    Send a message via ICQ to Zuko
    BrutalGoerge
    SourceMod Donor
    Join Date: Jul 2007
    Old 09-04-2009 , 19:05   Re: Custom Files Filter Checker
    Reply With Quote #2

    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.=\
    __________________
    My Pluggies If you like, consider to me.
    BrutalGoerge is offline
    m4ster
    Senior Member
    Join Date: Mar 2007
    Old 09-04-2009 , 19:42   Re: Custom Files Filter Checker
    Reply With Quote #3

    Why its called "Files Filter" its filtering files ?
    __________________
    m4ster is offline
    Zuko
    SourceMod Donor
    Join Date: Sep 2006
    Location: Poland
    Old 09-04-2009 , 19:56   Re: Custom Files Filter Checker
    Reply With Quote #4

    Plugin checks if connected players have enabled downloading custom files, if not simply kick them with info in reason.

    Quote:
    Originally Posted by BrutalGoerge View Post
    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?
    __________________

    Last edited by Zuko; 09-04-2009 at 19:58.
    Zuko is offline
    Send a message via ICQ to Zuko
    Zuko
    SourceMod Donor
    Join Date: Sep 2006
    Location: Poland
    Old 09-10-2009 , 15:04   Re: Custom Files Filter Checker
    Reply With Quote #5

    updated
    __________________
    Zuko is offline
    Send a message via ICQ to Zuko
    Zuko
    SourceMod Donor
    Join Date: Sep 2006
    Location: Poland
    Old 09-20-2009 , 07:50   Re: Custom Files Filter Checker
    Reply With Quote #6

    updated again ;-)
    __________________
    Zuko is offline
    Send a message via ICQ to Zuko
    Kadet
    Junior Member
    Join Date: Sep 2009
    Old 09-20-2009 , 17:25   Re: Custom Files Filter Checker
    Reply With Quote #7

    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

    Last edited by Kadet; 09-20-2009 at 17:29.
    Kadet is offline
    Darkthrone
    Senior Member
    Join Date: Jun 2009
    Old 05-17-2010 , 17:57   Re: Custom Files Filter Checker
    Reply With Quote #8

    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
    Darkthrone is offline
    sebrok
    Junior Member
    Join Date: Dec 2011
    Old 12-15-2011 , 18:43   Re: Custom Files Filter Checker
    Reply With Quote #9

    nice plug
    sebrok is offline
    xomp
    BANNED
    Join Date: Jul 2008
    Old 12-15-2011 , 20:30   Re: Custom Files Filter Checker
    Reply With Quote #10

    Thanks Zuko, this was something I've been wanting for a long time.
    xomp is offline
    Send a message via Skype™ to xomp
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 07:59.


    Powered by vBulletin®
    Copyright ©2000 - 2017, vBulletin Solutions, Inc.
    Theme made by Freecode