AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   Simple Chat Colors (Old Version) (https://forums.alliedmods.net/showthread.php?t=105150)

Antithasys 10-01-2009 18:21

Simple Chat Colors (Old Version)
 
1 Attachment(s)
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!

retsam 10-01-2009 18:37

Re: Simple Chat Colors
 
:mrgreen:

thetwistedpanda 10-01-2009 19:04

Re: Simple Chat Colors
 
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.

Antithasys 10-01-2009 19:10

Re: Simple Chat Colors
 
Quote:

Originally Posted by thetwistedpanda (Post 949573)
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.

thetwistedpanda 10-01-2009 19:11

Re: Simple Chat Colors
 
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?

noodleboy347 10-01-2009 19:17

Re: Simple Chat Colors
 
Oh my God I love you.

Antithasys 10-01-2009 19:18

Re: Simple Chat Colors
 
Quote:

Originally Posted by thetwistedpanda (Post 949579)
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.

noodleboy347 10-01-2009 19:27

Re: Simple Chat Colors
 
Does yellow work? I remember it used to show up as black if no one has found an item on the server yet.

thetwistedpanda 10-01-2009 19:45

Re: Simple Chat Colors
 
Quote:

Originally Posted by noodleboy347 (Post 949591)
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

DontWannaName 10-01-2009 19:46

Re: Simple Chat Colors
 
It works but like you said it will appear black to some.


All times are GMT -4. The time now is 06:36.

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