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

Hide Chat Triggers


Post New Thread Reply   
 
Thread Tools Display Modes
Author
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Plugin ID:
102
Plugin Version:
1.0
Plugin Category:
Server Management
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows admin to specify a list of chat triggers to hide
    Old 07-26-2007 , 08:01   Hide Chat Triggers
    Reply With Quote #1

    Nice and simple.

    Create a list of triggers you don't want to display, and this plugin will (should) block them from being seen in chat. For example, statsme, rank, place, nextmap, ff, etc.

    The plugin works off the first word of the chat message, so triggers with arguments like "trigger blah1 blah2" should also be blocked by just specifying "trigger"

    The list is addons/sourcemod/configs/chattriggers.txt

    INS should also be supported, but not tested.

    As of time of posting, I haven't tested this yet. It's pretty straight forward though.
    Attached Files
    File Type: sp Get Plugin or Get Source (hidechattriggers.sp - 6988 views - 2.9 KB)
    __________________
    I'm a blast from the past!
    ferret is offline
    tcviper
    Veteran Member
    Join Date: Oct 2005
    Location: Netherlands
    Old 07-26-2007 , 08:03   Re: Hide Chat Triggers
    Reply With Quote #2

    Exactly what i needed, thank you!
    __________________
    tcviper is offline
    Send a message via MSN to tcviper
    Extreme_One
    Veteran Member
    Join Date: Nov 2006
    Old 07-26-2007 , 15:17   Re: Hide Chat Triggers
    Reply With Quote #3

    Ferret you are a star! Another one crossed off of my wishlist
    __________________
    Extreme_One is offline
    imported_Anth0ny
    Senior Member
    Join Date: Jan 2005
    Location: Saturn
    Old 07-27-2007 , 03:10   Re: Hide Chat Triggers
    Reply With Quote #4

    thanks, nice plugin! =)
    __________________
    aka Mad.Eagle
    Creator\Owner\Admin of
    www.megatron.ws
    imported_Anth0ny is offline
    Send a message via ICQ to imported_Anth0ny
    Extreme_One
    Veteran Member
    Join Date: Nov 2006
    Old 07-28-2007 , 06:11   Re: Hide Chat Triggers
    Reply With Quote #5

    Hmm can't get this to work.

    The plugin is loaded:
    11:09:54 [SM] Listing 12 plugins:
    01 "Admin File Reader" (1.0.0.1166) by AlliedModders LLC
    02 "Admin Help" (1.0.0.1166) by AlliedModders LLC
    03 "Aimbot Detection" (0.0.1.0) by devicenull
    04 "Anti-Flood" (1.0.0.1166) by AlliedModders LLC
    05 "Basic Commands" (1.0.0.1166) by AlliedModders LLC
    06 "Cvar Hider" (1.0.0.0) by AlliedModders LLC
    07 "Healthkit On Death" (1.3.0) by Knagg0
    08 "Reserved Slots" (1.0.0.1166) by AlliedModders LLC
    09 "Spec for Cash" (1.0.1.0) by Shane A. ^BuGs^ Froebel
    10 "Weapon Logging" (1.2) by Tobi17
    11 "Hide Chat Triggers" (1.0.0.0) by AlliedModders LLC
    12 "HLstatsX Plugin" (1.2) by Tobi17

    addons/sourcemod/configs/chattriggers.txt :

    "!funsounds"

    Only added one command to test it out and it's not blocked from being displayed.

    I tried removing the quotes and that failed.

    I tried to remove the ! too to see if that was a reason but the chat command is still being displayed.
    __________________
    Extreme_One is offline
    bobbobagan
    SourceMod Donor
    Join Date: May 2007
    Location: New Zealand
    Old 07-30-2007 , 07:02   Re: Hide Chat Triggers
    Reply With Quote #6

    I dont get it...

    Would my chattriggers.txt look like this:
    Code:
    trigger motd
    trigger blep
    trigger mlep
    trigger glep
    __________________
    bobbobagan is offline
    Send a message via Skype™ to bobbobagan
    tcviper
    Veteran Member
    Join Date: Oct 2005
    Location: Netherlands
    Old 07-30-2007 , 10:50   Re: Hide Chat Triggers
    Reply With Quote #7

    No you just add a word per line like:

    rank
    top10
    top15
    statsme
    __________________
    tcviper is offline
    Send a message via MSN to tcviper
    Extreme_One
    Veteran Member
    Join Date: Nov 2006
    Old 08-04-2007 , 10:17   Re: Hide Chat Triggers
    Reply With Quote #8

    This will not block any chat which is prefixed with an exclamation mark.


    Example:
    Code:
    !radiooff
    !musicoff
    !test
    etc.. etc..

    Otherwise it works perfectly ;)

    I would file a bug report for this issue but this plugin isn't listed.
    __________________

    Last edited by Extreme_One; 08-04-2007 at 10:20.
    Extreme_One is offline
    ferret
    SourceMod Developer
    Join Date: Dec 2004
    Location: Atlanta, GA
    Old 08-06-2007 , 11:34   Re: Hide Chat Triggers
    Reply With Quote #9

    ! is used by sourcemod as a built in command trigger. That may be the issue. I'll try to look at this shortly.
    __________________
    I'm a blast from the past!
    ferret is offline
    MoggieX
    Veteran Member
    Join Date: Aug 2007
    Location: n00bville
    Old 08-31-2007 , 08:24   Re: Hide Chat Triggers
    Reply With Quote #10

    Could this get rid of the 'fire in the hole' messages in CS:Source?
    __________________
    MoggieX is offline
    Send a message via Skype™ to MoggieX
    Reply



    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:03.


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