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

[Source 2013] Custom Chat Colors


Post New Thread Reply   
 
Thread Tools Display Modes
misterG
Senior Member
Join Date: May 2015
Location: Romania
Old 06-20-2016 , 16:14   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1241

Quote:
Originally Posted by condolent View Post
I usually just to sm plugins reload custom-chatcolors-csgo in console, works aswell right?
If that's the name of the plugin in your plugins director, yes. Also if you do that in cs go console you should do sm_rcon sm plugins reload custom-chatcolors-csgo, else if you do in server console, it's ok as you said.
__________________
misterG is offline
quakeman00
New Member
Join Date: Jun 2016
Old 07-05-2016 , 00:15   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1242

wont work for me , only the tag is changing color , and i folowed the instructions , need more help with this :c

game is tf2

"STEAM_0:1:33818613"//quake
{
"flag" "z"
"tag" "[TECH] "
"tagcolor" "#FF0000"
"namecolor" "#FFFF00"
"textcolor" "#FF9900"
}

_______________________
edit : made it work , it didnt work because of the other plugins you offer to put with

Last edited by quakeman00; 07-05-2016 at 01:22.
quakeman00 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 07-05-2016 , 11:13   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1243

Quote:
Originally Posted by misterG View Post
sm_rcon sm plugins reload custom-chatcolors-csgo
I don't recommend using sm_rcon to load/reload plugins, as i've had troubles of the plugin being locked in the past. (However it could have just been a glitch)
Mitchell is offline
Jcrr
Senior Member
Join Date: Jul 2015
Old 07-09-2016 , 09:47   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1244

If i have multiple flags, how can i set their priority?
For example i have 99:z admin
In config i have defined:

[VIP] - T flag
[ADMIN] - C flag
[ROOT] - A flag

file looks like this:
Code:
[standard code above]
"admin_colors"
{
	"JCR"
	{
		"flag"				"a"
		"tag"				"[JCR] "
		"tagcolor"			"G"
		"namecolor"			"T"
		"textcolor"			"G"
	}

	"ADMIN"
	{
		"flag"				"c"
		"tag"				"[ADMIN] "
		"tagcolor"			"G"
		"namecolor"			"T"
		"textcolor"			"T"
	}

	"VIP"
	{
		"flag"				"t"
		"tag"				"[VIP] "
		"tagcolor"			"G"
		"namecolor"			"T"
	}


}
And instead of getting [JCR] prefix, i got [VIP]

Little update, after using sm_reloadccc every prefix in chat is missing...
Game is CSGO btw


Update:
Solved for now, should put smalletters for flags instead of caps: (t instead of T)
__________________


Last edited by Jcrr; 07-10-2016 at 12:24.
Jcrr is offline
ghostofmybrain
Veteran Member
Join Date: Mar 2010
Old 07-29-2016 , 14:00   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1245

I have a number of tags, but only one person's isn't working, and I can't figure out why. I've verified the SteamID, so I know I didn't mistype that.

Code:
"admin_colors"
{
        "STEAM_1:0:3538405"
        {
                "tag"                                           "[Owner]"
                "tagcolor"                              "O"
                "namecolor"                     "G"
        }

        "STEAM_1:0:11783847"
        {
                "tag"                                           "[AbsurdMinds]"
                "tagcolor"                              "O"
                "namecolor"                     "G"
        }

        "STEAM_1:1:62566206"
        {
                "tag" "[Donator]"
                "tagcolor" "O"
                "namecolor" "G"
        }

        "STEAM_1:0:99380293"
        {
                "tag"                                           "[Donator]"
                "tagcolor"                              "O"
                "namecolor"                     "G"
        }



         "Admins"
        {
                "flag"                                          "b"
                "tag"                                           "[AbsurdMinds]"
                "tagcolor"                              "O"
                "namecolor"                     "G"
        }

        "STEAM_1:1:45293277"
        {
                "tag"                                           "[WebMaster]"
                "tagcolor"                              "O"
                "namecolor"                     "G"
        }


}
The only one that won't work is the second donator tag. I can't find a missing punctuation mark or anything that might be causing it to not work.
__________________
Boycott ESEA
My servers
ghostofmybrain is offline
Mayor Gamer
Senior Member
Join Date: Nov 2012
Location: GetLocationOfUser(me);
Old 08-05-2016 , 14:36   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1246

Hello there! I made a module for CCC just 2 days ago.

Posting here for you guys to check it out.

MODULE HERE!
__________________
Mayor Gamer is offline
condolent
AlliedModders Donor
Join Date: Jan 2016
Location: gc_sLocation;
Old 09-17-2016 , 14:38   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1247

Can anybody explain to me why the STEAM-ID's listed still gets the Admin-rank and not Owner?
Both users have z-flags but the ordering should give them owner-rank, right?

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"
{
	// Gr0dan
	"STEAM_0:1:22454069"
	{
		"tag"				"[Owner] "
		"tagcolor"			"{02}"
		"namecolor"			"{07}"
	}
	
	// Hypr
	"STEAM_0:0:38439947"
	{
		"tag"				"[Owner] "
		"tagcolor"			"{02}"
		"namecolor"			"{07}"
		"textcolor"			""
	}
	
	"Admin"
	{
		"flag"				"z"
		"tag"				"[ADMIN] "
		"tagcolor"          "{02}"
		"namecolor"			"{07}"
		"textcolor"			""
	}
}
condolent is offline
Hallucinogenic Troll
Senior Member
Join Date: Apr 2015
Old 09-17-2016 , 14:47   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1248

Quote:
Originally Posted by condolent View Post
Can anybody explain to me why the STEAM-ID's listed still gets the Admin-rank and not Owner?
Both users have z-flags but the ordering should give them owner-rank, right?

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"
{
	// Gr0dan
	"STEAM_0:1:22454069"
	{
		"tag"				"[Owner] "
		"tagcolor"			"{02}"
		"namecolor"			"{07}"
	}
	
	// Hypr
	"STEAM_0:0:38439947"
	{
		"tag"				"[Owner] "
		"tagcolor"			"{02}"
		"namecolor"			"{07}"
		"textcolor"			""
	}
	
	"Admin"
	{
		"flag"				"z"
		"tag"				"[ADMIN] "
		"tagcolor"          "{02}"
		"namecolor"			"{07}"
		"textcolor"			""
	}
}
If the game is CS:GO, since you use AuthId_Steam2, the steam ids need to start with "STEAM_1" (at least, I need to do that).
Example: STEAM_0:1:22454069 -> STEAM_1:1:22454069
__________________
Hallucinogenic Troll is offline
condolent
AlliedModders Donor
Join Date: Jan 2016
Location: gc_sLocation;
Old 09-17-2016 , 15:41   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1249

Quote:
Originally Posted by Hallucinogenic Troll View Post
If the game is CS:GO, since you use AuthId_Steam2, the steam ids need to start with "STEAM_1" (at least, I need to do that).
Example: STEAM_0:1:22454069 -> STEAM_1:1:22454069
that did it! Thanks!
condolent is offline
SaudierX
New Member
Join Date: Feb 2016
Old 09-21-2016 , 23:45   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1250

I tried alot different configs but no work for me, I'm doing something wrong?


my custom-chatcolors.cfg

"Admin_colors"

}
"STEAM_0:0:87316575" //Soldier
{
"Tag" "[Owner]"
"Tagcolor" "#FF0000"
"Namecolor" "#FFFFFF"
"Textcolor" "#FF0000"


}
}
SaudierX is offline
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 16:54.


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