Raised This Month: $51 Target: $400
 12% 

[Any] NoSpam - The Anti-Micspam to allow or block HLSS/HLDJ per-client


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Plugin ID:
1269
Plugin Version:
2.0.1.0
Plugin Category:
Admin Commands
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    7 
    Plugin Description:
    Prevents or allows the use of HLDJ/HLSS mic spams on a client by client basis
    Old 11-04-2009 , 17:43   [Any] NoSpam - The Anti-Micspam to allow or block HLSS/HLDJ per-client
    Reply With Quote #1

    [Any] NoSpam
    Version 2.0.1.0
    Servers Running This Plugin



    Description:
    Allows admins to block specific players from using HLSS/HLDJ mic spams.
    Useful if you want to run your server with "sv_allow_voice_from_file 1" but prevent clients from using annoying spams without actually muting them.

    This plugin can also be used to allow specific players to play sounds while having the server set to "
    sv_allow_voice_from_file 0".

    Commands:
    sm_nospam <client> 1 - Prevents a player from using spams
    sm_nospam <client> 0 - Allows a player to use spams
    (This description was wrong for a while, sorry about that, it's correct now).
    Cvars:
    sm_nospam_version -- shows plugin version

    Install Instructions:
    1. Place nospam.smx into your addons/sourcemod/plugins/ folder.
    2. Update your adminmenu_custom with the attached copy if desired.

    Notes:
    Tested and working in TF2, should work in any game that has the sv_allow_voice_from_file cvar.
    nospam_retro is included for people who prefer the old command types. If you don't know what this means, you don't need it.


    ToDo:
    • -

    Version History:
    • V1.5.2
      • Initial Release
    • V2.0.0.0
      • Changed commands from sm_nospam_on and sm_nospam_off to sm_nospam 1 and sm_nospam 0 respectively.
      • Added support for custom admin menu.
    • V2.0.1.0
      • Fixed some errors that the plugin would print if used via rcon
    Credit to EHG and his fake cvar variables plugin for the general idea and code.
    Thanks to DeJaDeW for help with the admin menu.

    51
    Attached Files
    File Type: sp Get Plugin or Get Source (nospam_retro.sp - 2374 views - 1.5 KB)
    File Type: txt adminmenu_custom.txt (445 Bytes, 1424 views)
    File Type: sp Get Plugin or Get Source (nospam.sp - 3076 views - 1.6 KB)
    __________________

    Last edited by DarthNinja; 07-23-2012 at 22:36.
    DarthNinja is offline
     



    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 13:24.


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