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

TF2 - Help with adding admin tags?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Milldog620i
New Member
Join Date: Nov 2017
Old 11-03-2017 , 00:33   TF2 - Help with adding admin tags?
Reply With Quote #1

Hey guys, so I've been getting quite frustrated with setting up tags.

I've been trying so far to just get an owner tag set up but have had little luck.

Sourcemod Version: 1.9 (5996)

I've already set myself up as an administrator with all the flags and such but I'm trying to sort out the ranks that actually display myself to others as an owner.

I have installed Simple Chat Colors and the Simple Chat Processor -
https://forums.alliedmods.net/showthread.php?t=167814
https://forums.alliedmods.net/showth...67812?t=167812

My simple-chatcolors.cfg atm:
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:0:53043233"
	{
		"tag"						"Owner |"
		"tagcolor"				"{R}"
		"namecolor"			"{G}"
	}
}

Any help would be appreciated!

I'm trying to work out how to make myself appear as the following in game:

Owner | Milldog620i:

Last edited by Milldog620i; 11-03-2017 at 00:34.
Milldog620i is offline
tigocesar
Member
Join Date: Oct 2015
Old 11-10-2017 , 11:47   Re: TF2 - Help with adding admin tags?
Reply With Quote #2

Simple Chat Colors it's a little outdated for tf2. You can't set properly tag by steamid only by flags.
Try use this:
https://forums.alliedmods.net/showthread.php?t=186695

Same function, simple and you can use more colors for your tag,name and chat
http://www.2createawebsite.com/build...hart-grid.html
Example:
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"
{
	"STEAM_0:0:53043233"
	{
		"tag"						"Owner |"
		"tagcolor"				"#FF0000"
		"namecolor"			"#00FF00"
	}
}
tigocesar 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 01:35.


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