Raised This Month: $ Target: $400
 0% 

Simple Chat Colors (Redux)


Post New Thread Reply   
 
Thread Tools Display Modes
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 08-02-2012 , 21:33   Re: Simple Chat Colors (Redux)
Reply With Quote #231

Why would you specify the tags for each individual admin? That's what using admin flags is for.
__________________
Dr. McKay is offline
Enforcer Mitsuki
Member
Join Date: Aug 2012
Old 08-02-2012 , 22:01   Re: Simple Chat Colors (Redux)
Reply With Quote #232

Quote:
Originally Posted by Dr. McKay View Post
Why would you specify the tags for each individual admin? That's what using admin flags is for.
so, is this right then?
Spoiler


And for my admin_groups
Spoiler
Enforcer Mitsuki is offline
G2KV
BANNED
Join Date: Dec 2010
Old 08-05-2012 , 10:01   Re: Simple Chat Colors (Redux)
Reply With Quote #233

someone can help me to fix this :

Code:
KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file addons/sourcemod/configs/simple-chatcolors.cfg
admin_colors,           ,
KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file addons/sourcemod/configs/simple-chatcolors.cfg
admin_colors,           ,
KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file addons/sourcemod/configs/simple-chatcolors.cfg
admin_colors,           ,
KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file addons/sourcemod/configs/simple-chatcolors.cfg
admin_colors,           ,
KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file addons/sourcemod/configs/simple-chatcolors.cfg
admin_colors,           ,
KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file addons/sourcemod/configs/simple-chatcolors.cfg
admin_colors,           ,
KeyValues Error: RecursiveLoadFromBuffer:  got NULL key in file addons/sourcemod/configs/simple-chatcolors.cfg
admin_colors,
        }


}, (*           *),
I have the following config :

Code:
"admin_colors"
{
    "rootadmins"
    {
        "flag"            "z"
        "tag"            "(-HEAD ADMIN-) "
        "tagcolor"        "{G}"
        "namecolor"        "{L}"
        "textcolor"        "{D}"
    }
    "admins"
    {
        "flag"            "q"
        "tag"            "(-ADMIN-) "
        "tagcolor"        "{G}"
        "namecolor"        "{L}"
        "textcolor"        "{D}"
    }
    "platinum"
    {
        "flag"            "t"
        "tag"            "VIP PLATINUM | "
        "tagcolor"        "{G}"
        "namecolor"        "{teamcolor}"
        "textcolor"        "{D}"
    }
    "gold
    {
        "flag"            "r"
        "tag"            "VIP GOLD | "
        "tagcolor"        "{G}"
        "namecolor"        "{teamcolor}"
        "textcolor"        "{D}"
    }
    "silver"
    {
        "flag"            "s"
        "tag"            "VIP SILVER | "
        "tagcolor"        "{G}"
        "namecolor"        "{teamcolor}"
        "textcolor"        "{D}"
    }


}
G2KV is offline
DeathMaster
AlliedModders Donor
Join Date: Mar 2009
Old 08-09-2012 , 00:19   Re: Simple Chat Colors (Redux)
Reply With Quote #234

I am having issues getting this to work.

I have checked that both simple-chatcolors.smx & simple-chatprocessor.smx are running and they are.

I even took the time to strip down the cfg file to this:

"admin_colors"
{
"test"
{
"flag" "b"
"tag" "[test]"
}
}

I get no results what so ever. Does anyone know the trick to getting this to work?
DeathMaster is offline
LPMonkeys
Junior Member
Join Date: Aug 2012
Old 08-13-2012 , 15:22   Re: Simple Chat Colors (Redux)
Reply With Quote #235

I'm having issues with this too. I think it may be broken. I placed the files in my server files and this is my simple-chatcolors.cfg;

Code:
//		************************************************************************
//		*************************************************************************
//		Simple Chat Colors Config File
//		Description:
//		 		Changes the colors of players chat based on config file
//		*************************************************************************
//		*************************************************************************
//		This file is part of Simple Plugins project.
//		
//		This plugin is free software: you can redistribute 
//		it and/or modify it under the terms of the GNU General Public License as
//		published by the Free Software Foundation, either version 3 of the License, or
//		later version. 
//
//		This plugin is distributed in the hope that it will be useful,
//		but WITHOUT ANY WARRANTY; without even the implied warranty of
//		MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//		GNU General Public License for more details.
//
//		You should have received a copy of the GNU General Public License
//		along with this plugin.  If not, see <http://www.gnu.org/licenses/>.
//		*************************************************************************
//		*************************************************************************
//		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"		"{T}"						<--	This is the color for the name
//				"textcolor"		"{N}"						<--	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"		"{G}"						<--	This is the color for the tag
//				"namecolor"		"{G}"						<--	This is the color for the name
//				"textcolor"		"{N}"						<--	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 a better understanding of what these colors mean, how they work, and on what games, see this link:
//		http://forums.alliedmods.net/showpost.php?p=1398702&postcount=2
//		Thanks to everyone working on the smlib for the great .inc files!
//
//		--------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 string, and if the player has all the flags, 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.  
//			You can use more than 1 flag for the group. You could have made the admin group with the "ad" flag,
//			but it will always take the first match.
//
//		---------DO NOT EDIT ABOVE THIS LINE---------
"admin_colors"
{
	"STEAM_0:1:26190795"
	{
		"tag"				"[Owner]"
		"tagcolor"			"{R}"
		"namecolor"			"{G}"
	}
	"Admins"
	{
		"flag"				"z"
		"tag"				"[A]"
		"tagcolor"			"{R}"
		"namecolor"			"{G}"
	}
	"VIP"
	{
		"flag"				"a"
		"tag"				"[VIP]"
		"tagcolor"			"{B}"
		"namecolor"			"{T}"
		"textcolor"			"{OG}"
	}
}
That IS my Steam ID (I quadruple checked) - and I still get no tag at all, no colors, etc. Same for VIPs and admins.

Any idea?

Edit: Fixed, didn't realise I needed to install the simple chat processor plugin too.

Last edited by LPMonkeys; 08-13-2012 at 15:26.
LPMonkeys is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-13-2012 , 15:34   Re: Simple Chat Colors (Redux)
Reply With Quote #236

Quote:
Originally Posted by G2KV View Post
someone can help me to fix this :

Code:
KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file addons/sourcemod/configs/simple-chatcolors.cfg
admin_colors,           ,
KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file addons/sourcemod/configs/simple-chatcolors.cfg
admin_colors,           ,
KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file addons/sourcemod/configs/simple-chatcolors.cfg
admin_colors,           ,
KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file addons/sourcemod/configs/simple-chatcolors.cfg
admin_colors,           ,
KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file addons/sourcemod/configs/simple-chatcolors.cfg
admin_colors,           ,
KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file addons/sourcemod/configs/simple-chatcolors.cfg
admin_colors,           ,
KeyValues Error: RecursiveLoadFromBuffer:  got NULL key in file addons/sourcemod/configs/simple-chatcolors.cfg
admin_colors,
        }


}, (*           *),
I have the following config :

Code:
    "gold
You're missing a closing quote in the above line.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
karil
SourceMod Donor
Join Date: Jan 2010
Old 08-22-2012 , 04:20   Re: Simple Chat Colors (Redux)
Reply With Quote #237

CSGO: Colors work only when dead.
karil is offline
G2KV
BANNED
Join Date: Dec 2010
Old 09-03-2012 , 01:40   Re: Simple Chat Colors (Redux)
Reply With Quote #238

is this plugin working at all ??
G2KV is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 09-04-2012 , 11:39   Re: Simple Chat Colors (Redux)
Reply With Quote #239

Quote:
Originally Posted by G2KV View Post
is this plugin working at all ??
use Custom Chat Colors instead but this does work
Horsedick is offline
KratosMafia
Senior Member
Join Date: Jul 2012
Old 09-07-2012 , 17:50   Re: Simple Chat Colors (Redux)
Reply With Quote #240

does not work on CS:GO

Code:
"admin_colors"
{
    "STEAM_1:1:13544023"
    {
        "tag"                        "[Owner]"
        "tagcolor"                "{R}"
        "namecolor"            "{G}"
    }
    "Admins"
    {
        "flag"                        "z"
        "tag"                        "[Admin]"
        "tagcolor"                "{R}"
        "namecolor"            "{G}"
    }
    "VIP"
    {
        "flag"                        "t"
        "tag"                        "[VIP]"
        "tagcolor"                "{B}"
        "namecolor"            "{T}"
        "textcolor"            "{OG}"
    }
}
Says that the plugin is on the server in plugin lists. But when I type does not show anything.
KratosMafia 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 11:05.


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