|
Member
Join Date: Oct 2016
Location: Sweden
|
11-09-2016
, 06:31
Re: [Source 2013] Custom Chat Colors
|
#1265
|
hmm this is wierd, i cant get it to work either, im not sure if i have done something wrong ;P
custom-chatcolors.cfg
PHP Code:
// Custom Chat Colors is written by Dr. McKay (http://www.doctormckay.com) // Simple Chat Colors (Redux) is written by Antithasys // The configuration is very similar, so I've stolen Redux's documentation :P // // How to edit this file: // "admin_colors" <-- Leave this alone // { <-- Add all groups/steamids after first bracket (Leave this alone) // // "STEAM_0:1:1234567" <-- Here is a steamid example with a tag (don't duplicate steamids) // { // "namecolor" "#RRGGBB" <-- This is the color for the name (#RRGGBB in hex notation or #RRGGBBAA with alpha) // "textcolor" "#RRGGBBAA" <-- This is the color of the text // } // // "groupname" <-- This can either be a steamid for a specific player, or a group name // { <-- Open the group // "flag" "z" <-- This is the flag(s) assoicated with the group. This field doesn't matter if the group name is a steamid // "tag" "[admin]" <-- This is the text for the tag // "tagcolor" "O" <-- This is the color for the tag // "namecolor" "G" <-- This is the color for the name // "textcolor" "T" <-- This is the color of the text // } <-- Close the group // } <-- Add all groups/steamids before last bracket (Leave this alone) // // NOTE: // If you don't enter a steamid then the group name does not matter, it's just for your reference. // // For colors, either a hex notation of a color (#RRGGBB or #RRGGBBAA) or one of the supported shortcuts (O - Olive, G - Green, T - Team) is required // // --------ORDER OF OPERATIONS-------- // // The order in which you place items in the config file matters. Here is what determins what color they get: // 1. SteamID // If there is a steamid present, it will always override everything. If you put a steamid in twice // then the first entry (top to bottom) will be used. (I think, just don't do it!) // 2. Groups // The plugin will search (top to bottom) for a postitive match for the flag string. The player' flags // will be compared with the group flag character (NOTE: only one flag per group! "a" is okay, "ab" is NOT), // and if the player has the flag, it will stop there. // For example. Admins with the "ad" flags and donators with the "a" flag. If you place the "a" flag group // above the "d" group then the admin will get the "a" colors. Order matters. // // ---------DO NOT EDIT ABOVE THIS LINE--------- "admin_colors" {
"Owner" { "flag" "n" "tag" "[Owner] " "tagcolor" "#9EC34FAA" }
"Staff" { "flag" "i" "tag" "[Staff] " "tagcolor" "#9EC34FAA" }
"Developer" { "flag" "m" "tag" "[Developer] " "tagcolor" "#FF1493" }
"Admin" { "flag" "b" "tag" "[Admin] " "tagcolor" "#9EC34FAA" }
"VIP" { "flag" "o" "tag" "[VIP] " "tagcolor" "#9EC34FAA" } }
admins_simple.ini
PHP Code:
"STEAM_1:0:112961809" "99:moz" //simon
errorlog
PHP Code:
L 11/09/2016 - 12:23:54: [SM] Blaming: simple-chatprocessor.smx L 11/09/2016 - 12:23:54: [SM] Call stack trace: L 11/09/2016 - 12:23:54: [SM] [0] PbReadString L 11/09/2016 - 12:23:54: [SM] [1] Line 353, D:\Libraries\Documents\Repos\Simple Chat Processor\scripting\simple-chatprocessor.sp::OnSayText2 L 11/09/2016 - 12:23:54: [SM] Exception reported: Invalid field "params" for message "CCSUsrMsg_SayText2" L 11/09/2016 - 12:23:54: [SM] Blaming: simple-chatprocessor.smx L 11/09/2016 - 12:23:54: [SM] Call stack trace: L 11/09/2016 - 12:23:54: [SM] [0] PbReadString L 11/09/2016 - 12:23:54: [SM] [1] Line 353, D:\Libraries\Documents\Repos\Simple Chat Processor\scripting\simple-chatprocessor.sp::OnSayText2 L 11/09/2016 - 12:28:23: [SM] Exception reported: Invalid field "params" for message "CCSUsrMsg_SayText2" L 11/09/2016 - 12:28:23: [SM] Blaming: simple-chatprocessor.smx L 11/09/2016 - 12:28:23: [SM] Call stack trace: L 11/09/2016 - 12:28:23: [SM] [0] PbReadString L 11/09/2016 - 12:28:23: [SM] [1] Line 353, D:\Libraries\Documents\Repos\Simple Chat Processor\scripting\simple-chatprocessor.sp::OnSayText2 L 11/09/2016 - 12:28:23: [SM] Exception reported: Invalid field "params" for message "CCSUsrMsg_SayText2" L 11/09/2016 - 12:28:23: [SM] Blaming: simple-chatprocessor.smx L 11/09/2016 - 12:28:23: [SM] Call stack trace: L 11/09/2016 - 12:28:23: [SM] [0] PbReadString L 11/09/2016 - 12:28:23: [SM] [1] Line 353, D:\Libraries\Documents\Repos\Simple Chat Processor\scripting\simple-chatprocessor.sp::OnSayText2 L 11/09/2016 - 12:28:24: [SM] Exception reported: Invalid field "params" for message "CCSUsrMsg_SayText2" L 11/09/2016 - 12:28:24: [SM] Blaming: simple-chatprocessor.smx L 11/09/2016 - 12:28:24: [SM] Call stack trace: L 11/09/2016 - 12:28:24: [SM] [0] PbReadString L 11/09/2016 - 12:28:24: [SM] [1] Line 353, D:\Libraries\Documents\Repos\Simple Chat Processor\scripting\simple-chatprocessor.sp::OnSayText2 L 11/09/2016 - 12:28:24: [SM] Exception reported: Invalid field "params" for message "CCSUsrMsg_SayText2" L 11/09/2016 - 12:28:24: [SM] Blaming: simple-chatprocessor.smx L 11/09/2016 - 12:28:24: [SM] Call stack trace: L 11/09/2016 - 12:28:24: [SM] [0] PbReadString L 11/09/2016 - 12:28:24: [SM] [1] Line 353, D:\Libraries\Documents\Repos\Simple Chat Processor\scripting\simple-chatprocessor.sp::OnSayText2 L 11/09/2016 - 12:28:25: [SM] Exception reported: Invalid field "params" for message "CCSUsrMsg_SayText2" L 11/09/2016 - 12:28:25: [SM] Blaming: simple-chatprocessor.smx L 11/09/2016 - 12:28:25: [SM] Call stack trace: L 11/09/2016 - 12:28:25: [SM] [0] PbReadString L 11/09/2016 - 12:28:25: [SM] [1] Line 353, D:\Libraries\Documents\Repos\Simple Chat Processor\scripting\simple-chatprocessor.sp::OnSayText2 L 11/09/2016 - 12:28:25: [SM] Exception reported: Invalid field "params" for message "CCSUsrMsg_SayText2" L 11/09/2016 - 12:28:25: [SM] Blaming: simple-chatprocessor.smx L 11/09/2016 - 12:28:25: [SM] Call stack trace: L 11/09/2016 - 12:28:25: [SM] [0] PbReadString L 11/09/2016 - 12:28:25: [SM] [1] Line 353, D:\Libraries\Documents\Repos\Simple Chat Processor\scripting\simple-chatprocessor.sp::OnSayText2 L 11/09/2016 - 12:28:26: [SM] Exception reported: Invalid field "params" for message "CCSUsrMsg_SayText2" L 11/09/2016 - 12:28:26: [SM] Blaming: simple-chatprocessor.smx L 11/09/2016 - 12:28:26: [SM] Call stack trace: L 11/09/2016 - 12:28:26: [SM] [0] PbReadString L 11/09/2016 - 12:28:26: [SM] [1] Line 353, D:\Libraries\Documents\Repos\Simple Chat Processor\scripting\simple-chatprocessor.sp::OnSayText2 L 11/09/2016 - 12:28:26: [SM] Exception reported: Invalid field "params" for message "CCSUsrMsg_SayText2" L 11/09/2016 - 12:28:26: [SM] Blaming: simple-chatprocessor.smx L 11/09/2016 - 12:28:26: [SM] Call stack trace: L 11/09/2016 - 12:28:26: [SM] [0] PbReadString L 11/09/2016 - 12:28:26: [SM] [1] Line 353, D:\Libraries\Documents\Repos\Simple Chat Processor\scripting\simple-chatprocessor.sp::OnSayText2 L 11/09/2016 - 12:30:11: [SM] Exception reported: Invalid field "params" for message "CCSUsrMsg_SayText2" L 11/09/2016 - 12:30:11: [SM] Blaming: simple-chatprocessor.smx L 11/09/2016 - 12:30:11: [SM] Call stack trace: L 11/09/2016 - 12:30:11: [SM] [0] PbReadString L 11/09/2016 - 12:30:11: [SM] [1] Line 353, D:\Libraries\Documents\Repos\Simple Chat Processor\scripting\simple-chatprocessor.sp::OnSayText2 L 11/09/2016 - 12:30:11: [SM] Exception reported: Invalid field "params" for message "CCSUsrMsg_SayText2" L 11/09/2016 - 12:30:11: [SM] Blaming: simple-chatprocessor.smx L 11/09/2016 - 12:30:11: [SM] Call stack trace: L 11/09/2016 - 12:30:11: [SM] [0] PbReadString L 11/09/2016 - 12:30:11: [SM] [1] Line 353, D:\Libraries\Documents\Repos\Simple Chat Processor\scripting\simple-chatprocessor.sp::OnSayText2 L 11/09/2016 - 12:30:12: [SM] Exception reported: Invalid field "params" for message "CCSUsrMsg_SayText2" L 11/09/2016 - 12:30:12: [SM] Blaming: simple-chatprocessor.smx L 11/09/2016 - 12:30:12: [SM] Call stack trace: L 11/09/2016 - 12:30:12: [SM] [0] PbReadString L 11/09/2016 - 12:30:12: [SM] [1] Line 353, D:\Libraries\Documents\Repos\Simple Chat Processor\scripting\simple-chatprocessor.sp::OnSayText2 L 11/09/2016 - 12:30:12: [SM] Exception reported: Invalid field "params" for message "CCSUsrMsg_SayText2" L 11/09/2016 - 12:30:12: [SM] Blaming: simple-chatprocessor.smx L 11/09/2016 - 12:30:12: [SM] Call stack trace: L 11/09/2016 - 12:30:12: [SM] [0] PbReadString L 11/09/2016 - 12:30:12: [SM] [1] Line 353, D:\Libraries\Documents\Repos\Simple Chat Processor\scripting\simple-chatprocessor.sp::OnSayText2
__________________
Last edited by Simon.; 11-09-2016 at 06:32.
|
|
|
|