Admin Tag Enforcement/Protection 2
8 Attachment(s)
This is an update of atambo's Admin Tag Enforcement/Protection.
Original 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* Additionally the plugin changes the name even if a player has name change "disabled". 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" Note: You must define the amx_clantag cvar within your amxx.cfg. Example: amx_clantag "Pwnzors |" Credits and history: 2004-11-06 Original plugin by BigBaller http://forums.alliedmods.net/showthread.php?t=7390 2005-03-24 Several changes by me (pizzahut), most notably the removal of the tag including a case-insensitive delete function written from scratch. http://forums.alliedmods.net/showthr...9250#post99250 2005-10-04 Cvars added by atambo. http://forums.alliedmods.net/showthread.php?t=18901 2007-08-22 Added detection if a client has name change disabled, also using pcvars now. (pizzahut) 2007-09-05 Discovered how to change name even if client has it "disabled". Also fixed a minor bug introduced with the addition of cvars. |
Re: Admin Tag Enforcement/Protection 2
Bout time one without a cfg file. The only thing I would like is a cvar (which i almost did to Atambos(yours)) to Enable/Disable the tag enforcement. (sometimes we need to Not wear our tags for particular reasons) :D
Also, prolly not gonna happen but in the cfg files, i use about 5 diff tags that are similar to mine that i dont allow. As in |AoC|, i dont want people screwing around and using AoC. So i wonder about using regex or something. I know thats a bit, but just what I have been thinking about :D :up: to u |
Re: Admin Tag Enforcement/Protection 2
okay i have two questions... first one is similar to bmann's but i was woundering if it would be possible to make this with more then one clantag... i share a server with another clan and that what that is for... and my other question is some of my members dont have admin... so is it possible to make it so that they have to ware the tag but other non admins... being pubbers... wouldnt be able to ware it....
|
Re: Admin Tag Enforcement/Protection 2
Then your gonna have to use one with a .cfg file. lol I dont really see any other way around that.
|
Re: Admin Tag Enforcement/Protection 2
well i dont wanna make things complicated... :'( i dont wanna make ppl work more then they have to just for me:nono:
|
Re: Admin Tag Enforcement/Protection 2
bmann_420, there's a cvar amx_tagprotect which you can use, atambo already implemented it.
phrozenglow, if you want to try AMXX's built-in clan tag protection, put something like this in users.ini: "[clan A]" "password X" "abcdefghijklmnopqrstu" "ab" ; member of clan A with admin "[clan A]" "password Y" "z" "ab" ; member of clan A without admin "[clan B]" "password Z" "abcdefghijklmnopqrstu" "ab" ; member of clan B with admin "[clan B]" "password W" "z" "ab" ; member of clan B without admin I'm not quite sure if it will work with two times the same clan tag but different access rights. If it doesn't work, then admins need to use a different tag, e.g. "[clan A-a]" Clan members need to put this into autoexec.cfg : setinfo "_pw" "password X" (or one of the other passwords from above) More info: http://wiki.amxmodx.org/Adding_Admins_%28AMX_Mod_X%29 |
Re: Admin Tag Enforcement/Protection 2
would that also do the adding tag removing tag and what not or do i need this as well and use both?
|
Re: Admin Tag Enforcement/Protection 2
I see, now that i read the code i see it. I thought a cvar with that name would be to enable/disable the protection itself, not the forcing of the tag :D
@phrozenglow I believe your particular reason is why they made the tag protectors with cfg files. |
Re: Admin Tag Enforcement/Protection 2
Quote:
It kicks people who are trying to use one of the tags without the proper password. |
Re: Admin Tag Enforcement/Protection 2
okay,
amx_tagprotect 0 (should still protect your clan tag and not make the admins wear it?) Is kinda what I got from yea, but it doesnt seem to work like that. Anybody wears the tag with it at 0 and it forces the tag when set to 1. I dunno, kinda confused. |
| All times are GMT -4. The time now is 22:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.