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

Simple Chat Colors (Old Version)


Post New Thread Reply   
 
Thread Tools Display Modes
Snaggle
AlliedModders Donor
Join Date: Jul 2010
Location: England
Old 08-17-2011 , 08:23   Re: Simple Chat Colors
Reply With Quote #421

Thanks for the update Antithasys.
Snaggle is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 08-17-2011 , 09:38   Re: Simple Chat Colors
Reply With Quote #422

Thanks as well, the plugin works without error. I'll report any issues. :]
Drixevel is offline
ShankNinja
Junior Member
Join Date: Feb 2011
Old 08-17-2011 , 17:23   Re: Simple Chat Colors
Reply With Quote #423

I haven't had a server in so long, so I don't know what I'm doing exactly.

My colors don't show at all, it's like the plugin isn't even running.
I do have colors.inc but I am not entirely sure if it is in right.
So what I have is colors.inc, and I unzipped the addons into my folder. The server recognized the command sm_reloadchatcolors, so it must be in properly, I just don't know what I'm doing wrong.

Note: I am not using group2 at all yet.

Code:
"admin_colors"
{
	"STEAM_0:1:xxxxxxxx"
	{
		"flag"				"z"
		"tag"					"[Owner] "
		"tagcolor"		"{olive}"
		"namecolor"		"{green}"
		"textcolor"		"{lightgreen}"
	}
	"groupname2"
	{
		"flag"				"a"
		"tag"					""
		"tagcolor"		""
		"namecolor"		"{teamcolor}"
		"textcolor"		"{olive}"
	}
	"Overrides"
	{
		"rank"				""
		"testcommand"	""
		"rtv"					""
		"nominate"		""
	}
}
Any help would be much appreciated!

Last edited by ShankNinja; 08-17-2011 at 17:33.
ShankNinja is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 08-18-2011 , 02:56   Re: Simple Chat Colors
Reply With Quote #424

Code:
"admin_colors"
{
	"STEAM_0:1:xxxxxxxx"
	{
		"flag"				""
		"tag"					"[Owner] "
		"tagcolor"		"{olive}"
		"namecolor"		"{green}"
		"textcolor"		"{lightgreen}"
	}
	"groupname2"
	{
		"flag"				"a"
		"tag"					""
		"tagcolor"		""
		"namecolor"		"{teamcolor}"
		"textcolor"		"{olive}"
	}
	"Overrides"
	{
		"rank"				""
		"testcommand"	""
		"rtv"					""
		"nominate"		""
	}
}
Try that, that should make it work for you and be sure to check if the plugin is running or not, USUALLY a map change or server restart takes care of that.
Drixevel is offline
ShankNinja
Junior Member
Join Date: Feb 2011
Old 08-18-2011 , 07:41   Re: Simple Chat Colors
Reply With Quote #425

Quote:
Originally Posted by r3dw3r3w0lf View Post
Code:
"admin_colors"
{
	"STEAM_0:1:xxxxxxxx"
	{
		"flag"				""
		"tag"					"[Owner] "
		"tagcolor"		"{olive}"
		"namecolor"		"{green}"
		"textcolor"		"{lightgreen}"
	}
	"groupname2"
	{
		"flag"				"a"
		"tag"					""
		"tagcolor"		""
		"namecolor"		"{teamcolor}"
		"textcolor"		"{olive}"
	}
	"Overrides"
	{
		"rank"				""
		"testcommand"	""
		"rtv"					""
		"nominate"		""
	}
}
Try that, that should make it work for you and be sure to check if the plugin is running or not, USUALLY a map change or server restart takes care of that.
Thanks, it worked perfectly!
Would there be a way for all Z flags to have owner title, while all "BCDEFGJKL" get Admin flag, and all O get donator flag, etc.?
ShankNinja is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 08-18-2011 , 16:50   Re: Simple Chat Colors
Reply With Quote #426

Quote:
Originally Posted by ShankNinja View Post
Thanks, it worked perfectly!
Would there be a way for all Z flags to have owner title, while all "BCDEFGJKL" get Admin flag, and all O get donator flag, etc.?
Yes, but you would have to do it by group name and not steam id.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
ShankNinja
Junior Member
Join Date: Feb 2011
Old 08-18-2011 , 16:55   Re: Simple Chat Colors
Reply With Quote #427

Quote:
Originally Posted by Antithasys View Post
Yes, but you would have to do it by group name and not steam id.
This does read from admin_groups?


Also, I found this funny, don't think anyone else will:
I applied the chat colors to the "z" group, it worked, then I proceeded to edit the above post.
When I logged in, I saw your shiny name in the online users list, and raced back to the thread to take out the stupid question I asked, and then you posted immediately.

I thought it was funny
ShankNinja is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 08-18-2011 , 17:02   Re: Simple Chat Colors
Reply With Quote #428

Quote:
Originally Posted by ShankNinja View Post
This does read from admin_groups?
No. The way this works is by flag or steam id. If the group 'name' is a steam id, it works for that person, if the 'name' is anything other than a steam id, it works by a flag. The name of the group, assuming its not a steam id, is only for your reference. This is all explained in the .cfg file.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
Extreme_One
Veteran Member
Join Date: Nov 2006
Old 08-18-2011 , 17:05   Re: Simple Chat Colors
Reply With Quote #429

This is probably a stupid question so I apologise.

This plugin conflicts slightly with another plugin I have unless it is loaded after the other plugin.

Is there a method to choose what order plugins load in?

The only way I can think of currently is to to unload it and load it again in autoexec.cfg
__________________

Last edited by Extreme_One; 08-18-2011 at 17:09.
Extreme_One is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 08-18-2011 , 17:09   Re: Simple Chat Colors
Reply With Quote #430

No. But I can try to resolve the conflict. This post explained the problem you are talking about.

What is the conflict?
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
Reply


Thread Tools
Display Modes

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 10:04.


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