View Single Post
Author Message
Antithasys
Moderator
Join Date: Apr 2008
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, 4215 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