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

[Source 2013] Custom Chat Colors


Post New Thread Reply   
 
Thread Tools Display Modes
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 12-16-2015 , 00:34   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1171

Quote:
Originally Posted by Luigi123 View Post
Quote:
Originally Posted by Mitchell View Post
You managed to quote the entire post but not read how to use it.
There is no donor feature, if you want to give people chat tags you must open the config and set it your self.
How do i set it?
If you don't know how to edit a file, then AlliedModders doesn't seem to be the right place for you yet.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Foskitox
Junior Member
Join Date: Jun 2015
Old 12-18-2015 , 14:12   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1172

Quote:
Originally Posted by Foskitox View Post
I found a "bug" in CS:GO!

The colors are right but if you choose the color "Green" to your TAG in the chat, the green color on TAG only appears if you talk to your team chat (u) :b
It's only the TAG color! :b
Foskitox is offline
kaiqueluis49
Junior Member
Join Date: Jun 2015
Old 12-23-2015 , 18:49   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1173

My server is in trouble simply does not recognize these your files and does not put the Tags in the players and server administrators anyone could help me with this?
kaiqueluis49 is offline
Send a message via Skype™ to kaiqueluis49
Atomicbeast101
New Member
Join Date: Jan 2016
Old 01-08-2016 , 19:05   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1174

Something is up with the linking between admin groups and custom chat color's group naming. I set myself to Admin rank, and when I tested it in the server, I only show up as "Member" instead of "Admin". I tested the commands between Member and Admin ranks and they work correctly. For example, I can access sm_admin in Admin group while I can't in Member group. Any idea what's up with that? Here's my configuration files if you want to take a look:
admin_groups.cfg
Code:
Groups
{
	"Default"
	{
		"immunity"	"1"
		"Overrides"
		{
			"sm_addban"		"deny"
			"sm_ban"		"deny"
			"sm_banip"		"deny"
			"sm_unban"		"deny"
			"sm_kick"		"deny"
			"sm_cancelvote"		"deny"
			"sm_map"		"deny"
			"sm_who"		"deny"
			"sm_chat"		"deny"
			"sm_csay"		"deny"
			"sm_hsay"		"deny"
			"sm_msay"		"deny"
			"sm_mute"		"deny"
			"sm_unmute"		"deny"
			"sm_silence"		"deny"
			"sm_unsilence"		"deny"
			"sm_slap"		"deny"
			"sm_slay"		"deny"
			"sm_votemap"		"deny"
			"sm_admin"		"deny"
			"sm_cvar"		"deny"
			"sm_execcfg"		"deny"
			"sm_help"		"deny"
			"sm_rcon"		"deny"
			"sm_reloadadmins"	"deny"
			"sm_beacon"		"deny"
			"sm_burn"		"deny"
			"sm_gag"		"deny"
			"sm_play"		"deny"
			"sm_psay"		"deny"
			"sm_rename"		"deny"
			"sm_resetcvar"		"deny"
			"sm_say"		"deny"
			"sm_tsay"		"deny"
			"sm_ungag"		"deny"
			"sm_votealltalk"	"deny"
			"sm_voteff"		"deny"
			"sm_votegravity"	"deny"
			"sm_votekick"		"deny"
			"sm_voteslay"		"deny"
			"ads_reload"		"deny"
		}
	}
	"VIP"
	{
		"immunity"	"2"
		"Overrides"
		{
			"sm_addban"		"deny"
			"sm_ban"		"deny"
			"sm_banip"		"deny"
			"sm_unban"		"deny"
			"sm_kick"		"deny"
			"sm_cancelvote"		"deny"
			"sm_map"		"deny"
			"sm_who"		"deny"
			"sm_chat"		"deny"
			"sm_csay"		"deny"
			"sm_hsay"		"deny"
			"sm_msay"		"deny"
			"sm_mute"		"deny"
			"sm_unmute"		"deny"
			"sm_silence"		"deny"
			"sm_unsilence"		"deny"
			"sm_slap"		"deny"
			"sm_slay"		"deny"
			"sm_votemap"		"deny"
			"sm_admin"		"deny"
			"sm_cvar"		"deny"
			"sm_execcfg"		"deny"
			"sm_help"		"deny"
			"sm_rcon"		"deny"
			"sm_reloadadmins"	"deny"
			"sm_beacon"		"deny"
			"sm_burn"		"deny"
			"sm_gag"		"deny"
			"sm_play"		"deny"
			"sm_psay"		"deny"
			"sm_rename"		"deny"
			"sm_resetcvar"		"deny"
			"sm_say"		"deny"
			"sm_tsay"		"deny"
			"sm_ungag"		"deny"
			"sm_votealltalk"	"deny"
			"sm_voteff"		"deny"
			"sm_votegravity"	"deny"
			"sm_votekick"		"deny"
			"sm_voteslay"		"deny"
			"ads_reload"		"deny"
		}
	}
	"Mod"
	{
		"immunity"	"3"
		"Overrides"
		{
			"sm_addban"		"allow"
			"sm_ban"		"allow"
			"sm_banip"		"allow"
			"sm_unban"		"allow"
			"sm_kick"		"allow"
			"sm_cancelvote"		"allow"
			"sm_map"		"allow"
			"sm_who"		"allow"
			"sm_chat"		"allow"
			"sm_csay"		"allow"
			"sm_hsay"		"allow"
			"sm_msay"		"allow"
			"sm_mute"		"allow"
			"sm_unmute"		"allow"
			"sm_silence"		"allow"
			"sm_unsilence"		"allow"
			"sm_slap"		"allow"
			"sm_slay"		"allow"
			"sm_votemap"		"allow"
			"sm_admin"		"deny"
			"sm_cvar"		"deny"
			"sm_execcfg"		"deny"
			"sm_help"		"deny"
			"sm_rcon"		"deny"
			"sm_reloadadmins"	"deny"
			"sm_beacon"		"deny"
			"sm_burn"		"deny"
			"sm_gag"		"deny"
			"sm_play"		"deny"
			"sm_psay"		"deny"
			"sm_rename"		"deny"
			"sm_resetcvar"		"deny"
			"sm_say"		"deny"
			"sm_tsay"		"deny"
			"sm_ungag"		"deny"
			"sm_votealltalk"	"deny"
			"sm_voteff"		"deny"
			"sm_votegravity"	"deny"
			"sm_votekick"		"deny"
			"sm_voteslay"		"deny"
			"ads_reload"		"deny"
		}
	}
	"Admin"
	{
		"immunity"	"4"
		"Overrides"
		{
			"sm_addban"		"allow"
			"sm_ban"		"allow"
			"sm_banip"		"allow"
			"sm_unban"		"allow"
			"sm_kick"		"allow"
			"sm_cancelvote"		"allow"
			"sm_map"		"allow"
			"sm_who"		"allow"
			"sm_chat"		"allow"
			"sm_csay"		"allow"
			"sm_hsay"		"allow"
			"sm_msay"		"allow"
			"sm_mute"		"allow"
			"sm_unmute"		"allow"
			"sm_silence"		"allow"
			"sm_unsilence"		"allow"
			"sm_slap"		"allow"
			"sm_slay"		"allow"
			"sm_votemap"		"allow"
			"sm_admin"		"allow"
			"sm_cvar"		"allow"
			"sm_execcfg"		"allow"
			"sm_help"		"allow"
			"sm_rcon"		"allow"
			"sm_reloadadmins"	"allow"
			"sm_beacon"		"allow"
			"sm_burn"		"allow"
			"sm_gag"		"allow"
			"sm_play"		"allow"
			"sm_psay"		"allow"
			"sm_rename"		"allow"
			"sm_resetcvar"		"allow"
			"sm_say"		"allow"
			"sm_tsay"		"allow"
			"sm_ungag"		"allow"
			"sm_votealltalk"	"allow"
			"sm_voteff"		"allow"
			"sm_votegravity"	"allow"
			"sm_votekick"		"allow"
			"sm_voteslay"		"allow"
			"ads_reload"		"allow"
		}
	}
}
admins.cfg
Code:
Admins
{
	"atomicbrod101"
	{
		"auth"		"steam"
		"identity"	"STEAM_0:0:57587326"
		"group"		"Admin"
	}
}
admins_simple.ini
Code:
"STEAM_0:0:57587326" "@Admin" ""
custom_chatcolors.cfg
Code:
"admin_colors"
{
	"Default"
	{
		"tag"			"[Member] "
		"tagcolor"		"#808080"
		"namecolor"		"T"
		"textcolor"		"O"
	}
	"VIP"
	{
		"tag"			"[VIP] "
		"tagcolor"		"#FFA500"
		"namecolor"		"T"
		"textcolor"		"O"
	}
	"Mod"
	{
		"tag"			"[Mod] "
		"tagcolor"		"#008000"
		"namecolor"		"T"
		"textcolor"		"O"
	}
	"Admin"
	{
		"tag"			"[Admin] "
		"tagcolor"		"#FF0000"
		"namecolor"		"T"
		"textcolor"		"O"
	}
}
Versions:
SourceMod: 1.7.3-dev+5286
TF2 Version: 3214643

Last edited by Atomicbeast101; 01-08-2016 at 19:20. Reason: Added version information
Atomicbeast101 is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 01-08-2016 , 19:22   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1175

From what I understand, the "groups" in custom_chatcolors.cfg don't correspond to the the groups in admin_groups.cfg. You'd need to specify a flag for each "group" in custom_chatcolors.cfg. For this reason, you should list your groups in the opposite order in custom_chatcolors.cfg. Specific players first, then your highest admins, next highest, etc.
__________________
ddhoward is offline
Atomicbeast101
New Member
Join Date: Jan 2016
Old 01-08-2016 , 20:44   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1176

Ah that was the issue. It works beautifully now! Thank you so much sir!
Atomicbeast101 is offline
Floppin
Junior Member
Join Date: Dec 2015
Old 01-08-2016 , 21:11   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1177

Hello, I have been trying to fix my tags and colours for a good time now and I'm pretty sure this is the error I keep receiving.

console
Code:
KeyValues Error: RecursiveLoadFromBuffer:  got empty keyname in file addons/sourcemod/configs/custom-chatcolors.cfg
admin_colors, (*STEAM_0:1:126650420*), 
KeyValues Error: LoadFromBuffer: missing { in file addons/sourcemod/configs/custom-chatcolors.cfg
(*admin_colors*), (*STEAM_0:1:126650420*),
custom-chatcolors.cfg
Code:
"admin_colors"
{
	"STEAM_0:1:126650420"
	{
		"tag"				"[Owner] "
		"tagcolor"			"O"
	}
	""
	{
		"flag"				""
		"tag"				""
		"tagcolor"			""
		"namecolor"			""
		"textcolor"			""
	}


I also have Zephyrus's store plugin which doesn't seem to work with the tags and colors, Custom-chat colors menu (doesn't work) and simple chat processor

Last edited by Floppin; 01-08-2016 at 21:14.
Floppin is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 01-08-2016 , 22:10   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1178

Quote:
Originally Posted by Floppin View Post
-snip-
Your errors are self explanatory. If you read the error messages, they explain that you are missing a closing } brace, and one of your group names is empty.
__________________
ddhoward is offline
Floppin
Junior Member
Join Date: Dec 2015
Old 01-08-2016 , 22:21   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1179

Okay, I fixed the errors that you said to fix and made it a group/flag thing and still nothing works.

Code:
"admin_colors"
{
	"Owner"
	{
		"flag"				"z"
                "tag"			        "[Owner]"
                "tagcolor"		        "O"
                "namecolor"		        "G"
                "textcolor"		        "T"	
	}
	
}
Floppin is offline
Polaric
Junior Member
Join Date: Jun 2013
Old 01-30-2016 , 22:51   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1180

I've got a issue and for the life of me I can't figure it out. Steam3IDs dont seem to work for the plugin.
Code:
"admin_colors"
{
        "[U:1:102716475]"
        {
                "tag"                           "[The Dictator] "
                "tagcolor"                      "#2EFE2E"
                "namecolor"                     "#000000"
                "textcolor"                     "#ffffff"
        }
}
Is my config right now just for testing purposes. I know the chat colors work, if I do it by flag it works fine, but by steamid and it doesnt pick it up.
Polaric 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 21:39.


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