Monthly Target: $400 Donations: $38
 9% 

Simple Chat Colors (Old Version)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Antithasys
Moderator
Join Date: Apr 2008
Plugin ID:
1196
Plugin Version:
1.3.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    212 
    Plugin Description:
    Allows admins to set chat colors, and other options for players, or groups of players.
    Unapprover:
    Reason for Unapproving:
    requested - no longer supported - replaced by new plugin
    Old 10-01-2009 , 18:21   Simple Chat Colors (Old Version)
    Reply With Quote #1

    Use the new version located here.

    Simple Chat Colors and more

    Description:

    Allows admins to set chat colors for players or groups of players. See feature list for complete description.
    Plugin is part of the Simple Plugins project.


    Features:
    • Set the color of the players name
    • Set the color of the players chat message
    • Set the color for a specific player or group of players
    • Allows tagging of players or group of players
    • Allows for clan messages (trigger = #)
    • Allows for dead chat display options
    • Allows for auto-responses based upon chat message *NEW
    • Allows for override commands
    • Supports color tags in chat messages *NEW
    • Supports Gag & Silence
    • Supports antiflood timeouts (replaces base plugin)
    • Supports all colors in the colors.inc file by exvel
    • Uses loghelper.inc by psychonic for compability with HLstatsxCE

    Commands:
    • sm_reloadscc - Reloads chat colors from config file *NEW
    • sm_printcolors - Prints the chat colors and names to the screen *NEW

    Console Variables:
    • scc_debug - Enable/Disable debugging information *NEW
    • scc_triggerbackup - Enable/Disable the backup for detecting chat triggers
    • scc_deadchat - 0 = Dead can't see or type chat, 1 = Dead can see all chat and type to other dead players, 2 = Dead can see and type chat to all *NEW
    • scc_clanchat_enabled - Enable/Disable clan chat triggers
    • scc_clanflag - Admin flag given to clan members
    • scc_chatcolortags_enabled - Enable/Disable color tags in chat messages *NEW
    • scc_autoresponse_enabled - Enable/Disable auto-responses to chat messages *NEW
    • scc_chatfilter_enabled - Enable/Disable banned words in chat messages *NEW
    • scc_flood_time - Amount of time allowed between chat messages

    Installation:
    • Place the simple-chatcolors.smx in the /sourcemod/plugins dir.
    • Place the simple-chatcolors.cfg file in the /sourcemod/configs dir.
    • Place the simple-chatfilter.cfg file in the /sourcemod/configs dir.
    • Place the simple-chatresponses.cfg file in the /sourcemod/configs dir.
    • Place the scc.phrases.txt file in the /sourcemod/translations dir.
    Changelog:
    Quote:
    (27/08/11): Version 1.3.0
    -----------------------
    + Added clan chat tag to translation file
    + Added cvar for passing color tags within chat message (tagged players only)
    + Added additional debug messages for phrase auto responses
    ! Fixed invalid group flagbits giving everyone chat colors
    ! Fixed invalid clan flagbits giving everyone clan chat
    ! Fixed invalid targets when gaging causing translation error
    ! Fixed color tags being passed when banned word were said by non-tagged players
    ! Fixed say event not firing if chat is processed
    ? Fixed cvar misspellings
    ? Renamed commands to reflect changes

    (16/08/11): Version 1.2.2
    -----------------------
    ! Fixed more than one team color error firing incorrectly

    (15/08/11): Version 1.2.1
    -----------------------
    + Added support for antiflood
    + Added translation support
    ! Fixed clanchat flag being reset on client disconnect

    (06/08/11): Version 1.2.0
    -----------------------
    + Added clan chat feature
    + Added dead chat feature
    + Added support for gags with base SourceMod plugin
    ! Fixed chat for spectators
    ! Fixed player names with color tags producing colors
    ? Renamed most of the console variables
    ? Compiled against new colors.inc file
    ? Compiled against new simple-plugins.inc file

    (22/12/09): Version 1.1.0
    -----------------------
    + Added tag prefixes with colors
    + Added overrides group to config file
    + Added everyone group to config file
    ! Fixed chat tags for Left 4 Dead 1/2
    ? Removed unnecessary code
    ? Compiled against new simple-plugins.inc file
    ? Compiled against new colors.inc file

    (03/10/09): Version 1.0.2
    -----------------------
    + Added game type detection
    + Added cvar sm_chatcolors_triggerbackup
    ! Fixed % being allowed in chat messages
    ! Fixed null or blank messages being passed
    ! Fixed passing raw strings to format functions causing crash
    ! Fixed improper spacing after :
    ! Fixed spectator and dead tags again
    ? Consolidated functions

    (02/10/09): Version 1.0.1
    -----------------------
    + Added command sm_printchatcolors to see what the colors do
    ! Fixed colors getting wrong result
    ! Fixed spectator chat showing up as dead chat
    ? Clarified what colors could not be used together in .cfg file

    (01/10/09): Version 1.0.0
    -----------------------
    Initial Release
    Features/Bugs:
    Please use the project site to report all bugs and request additional features.

    Future Updates:

    Latest beta can be located here.
    Change log here.
    Code changes here.
    New example .cfg files here.
    New translation file here.
    ____
    *See changelog for recent revisions.

    Notes:

    This plugin is part of the Simple Plugins project, but does NOT require the core to function.

    Enjoy!
    Attached Files
    File Type: zip Simple Chat Colors.zip (58.4 KB, 2970 views)
    __________________
    [my plugins]

    When you think about asking a question... consider what have you tried?

    Last edited by Antithasys; 09-20-2011 at 14:16. Reason: outdated
    Antithasys is offline
    retsam
    Veteran Member
    Join Date: Aug 2008
    Location: so-cal
    Old 10-01-2009 , 18:37   Re: Simple Chat Colors
    Reply With Quote #2

    retsam is offline
    thetwistedpanda
    Good Little Panda
    Join Date: Sep 2008
    Old 10-01-2009 , 19:04   Re: Simple Chat Colors
    Reply With Quote #3

    Just tested this out on CS:S. It seems {teamcolor} doesn't actually display the team color; instead it just displays default. Meaning can't replicate team colored chat with this plugin :O.
    thetwistedpanda is offline
    Antithasys
    Moderator
    Join Date: Apr 2008
    Old 10-01-2009 , 19:10   Re: Simple Chat Colors
    Reply With Quote #4

    Quote:
    Originally Posted by thetwistedpanda View Post
    Just tested this out on CS:S. It seems {teamcolor} doesn't actually display the team color; instead it just displays default. Meaning can't replicate team colored chat with this plugin :O.
    Ya, I have already found that bug. Thought I had it worked out. I will update it in the next 60 mins. Hate quick updates, but expect a 1.0.1 very soon.
    __________________
    [my plugins]

    When you think about asking a question... consider what have you tried?
    Antithasys is offline
    thetwistedpanda
    Good Little Panda
    Join Date: Sep 2008
    Old 10-01-2009 , 19:11   Re: Simple Chat Colors
    Reply With Quote #5

    Thanks; is it possible to replicate the spectator name color (gray)?

    *Edit* And also, is it supposed to be not possible to use {red} and {blue} together?
    thetwistedpanda is offline
    noodleboy347
    SourceMod Donor
    Join Date: Mar 2009
    Old 10-01-2009 , 19:17   Re: Simple Chat Colors
    Reply With Quote #6

    Oh my God I love you.
    noodleboy347 is offline
    Antithasys
    Moderator
    Join Date: Apr 2008
    Old 10-01-2009 , 19:18   Re: Simple Chat Colors
    Reply With Quote #7

    Quote:
    Originally Posted by thetwistedpanda View Post
    Thanks; is it possible to replicate the spectator name color (gray)?

    *Edit* And also, is it supposed to be not possible to use {red} and {blue} together?
    It follows the same rules as the include file. Yes you cannot use two team colors in 1 message. Therefore a name of red and a message of blue (for TF2) would not work.

    EDIT:

    Give me a few mins, I will have the new version shorty. Almost got it fixed and ready to go.
    __________________
    [my plugins]

    When you think about asking a question... consider what have you tried?

    Last edited by Antithasys; 10-01-2009 at 19:25.
    Antithasys is offline
    noodleboy347
    SourceMod Donor
    Join Date: Mar 2009
    Old 10-01-2009 , 19:27   Re: Simple Chat Colors
    Reply With Quote #8

    Does yellow work? I remember it used to show up as black if no one has found an item on the server yet.
    noodleboy347 is offline
    thetwistedpanda
    Good Little Panda
    Join Date: Sep 2008
    Old 10-01-2009 , 19:45   Re: Simple Chat Colors
    Reply With Quote #9

    Quote:
    Originally Posted by noodleboy347 View Post
    Does yellow work? I remember it used to show up as black if no one has found an item on the server yet.
    Read the link he posted: http://forums.alliedmods.net/showthread.php?t=96831%22
    thetwistedpanda is offline
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 10-01-2009 , 19:46   Re: Simple Chat Colors
    Reply With Quote #10

    It works but like you said it will appear black to some.
    __________________

    DontWannaName is offline
    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 02:49.


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