Raised This Month: $32 Target: $400
 8% 

Admin Tag Enforcement/Protection


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   devicenull (200)
atambo
Senior Member
Join Date: Oct 2004
Location: Pittsburgh, PA
Old 10-04-2005 , 08:34   Admin Tag Enforcement/Protection
Reply With Quote #1

Admin Tag Enforcement/Protection

Description: This plugin will check if your server admins have your clan tag in their name. If they dont it will add it to their name (unless you have immunity). This plugin will also check and see if players without admin have the tag in their name. If they do it will remove it from their name. *No need to edit any config files*

Cvars:
amx_tagprotect - 1 = on/0 = off
amx_taginfront - 1 = places tag in front of name/0 = places tag in back of name
amx_clantag - "your clan tag here"

Credits:
BigBaller for originally making the Force Admin Tag plugin

Note:
You must define the amx_clantag cvar within your amxx.cfg example:

Code:
amx_clantag "Pwnzors |"
Attached Files
File Type: sma Get Plugin or Get Source (tagprotect.sma - 7844 views - 2.2 KB)
__________________
atambo is offline
Send a message via AIM to atambo Send a message via MSN to atambo Send a message via Yahoo to atambo
kILL-jOY
Member
Join Date: Jul 2005
Old 10-04-2005 , 08:54  
Reply With Quote #2

u should add so it will work on normal clients to

so it could save their steam id in a file and when they join it adds the tag
__________________
**|$uperHero|** Free level 8 / 75+ Heroes / BuyXP at 68.191.146.3:27015 - CS 1.6


kILL-jOY is offline
atambo
Senior Member
Join Date: Oct 2004
Location: Pittsburgh, PA
Old 10-04-2005 , 11:59  
Reply With Quote #3

Quote:
Originally Posted by kILL-jOY
u should add so it will work on normal clients to

so it could save their steam id in a file and when they join it adds the tag
if you'd like to configure who can have the tag then I would try this plugin:

http://forums.alliedmods.net/showthread.php?t=15067

the reason why this plugin is out there if for people who want a tag enforcer/protector that doens't require any configs
__________________
atambo is offline
Send a message via AIM to atambo Send a message via MSN to atambo Send a message via Yahoo to atambo
Zenith77
Veteran Member
Join Date: Aug 2005
Old 10-04-2005 , 12:13  
Reply With Quote #4

Ok, this will never be approved


1) Not everybody knows how to script nor should they have to edit a line.

2) make a ClanTag.ini file or something.
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
atambo
Senior Member
Join Date: Oct 2004
Location: Pittsburgh, PA
Old 10-04-2005 , 12:22  
Reply With Quote #5

you dont need to know how to script you just need to know what your clan tag is...and there are tons of approved plugins that require you to edit a define
__________________
atambo is offline
Send a message via AIM to atambo Send a message via MSN to atambo Send a message via Yahoo to atambo
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 10-04-2005 , 13:01  
Reply With Quote #6

Just make it so

#define clantag "PUT YOUR CLAN TAG HERE"

is a cvar instead...

then do get_cvar_string()
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
atambo
Senior Member
Join Date: Oct 2004
Location: Pittsburgh, PA
Old 10-04-2005 , 13:25  
Reply With Quote #7

k now its a cvar instead of a define
__________________
atambo is offline
Send a message via AIM to atambo Send a message via MSN to atambo Send a message via Yahoo to atambo
lex
New Member
Join Date: Oct 2005
Old 10-07-2005 , 12:46  
Reply With Quote #8

works but I need a space between the tag and the admins name can you make the plugin add a space?
lex is offline
atambo
Senior Member
Join Date: Oct 2004
Location: Pittsburgh, PA
Old 10-07-2005 , 16:27  
Reply With Quote #9

when you set your clan tag cvar just set it with a space at the beginning or the end depending on where ya want it:

amx_cvar amx_clantag "TAG| "
__________________
atambo is offline
Send a message via AIM to atambo Send a message via MSN to atambo Send a message via Yahoo to atambo
belvadere
Junior Member
Join Date: Sep 2005
Location: Philadelphia
Old 11-12-2005 , 17:46  
Reply With Quote #10

Awesome, running perfectly on my server. Thanks.
__________________
belvadere 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 19:29.


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