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

Admin Tag (Don Juan-jello)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose       
Dontask-jello
Member
Join Date: Mar 2005
Old 03-10-2005 , 23:29   Admin Tag (Don Juan-jello)
Reply With Quote #1

This is basically a remake of: http://forums.alliedmods.net/showthr...7390+admin+tag

That plugin was made and suggestions were made but never were they put into the plugin by the developer. This plugin includes a suggestion from that thread and also some other functions.

Created by Don Juan-jello
Conceptualized and Tested by Dontask-jello

Description:
This plugin will automatically prepend [ADMIN] to the name of an admin when they connect to the server or when they change their name. If someone tries to add the [ADMIN] tag to the beginning of their name then it is automatically changed to [FRAUD] if they are not an admin. There are several commands that can be used by admins to disconnect and have the tag automatically removed from their name. See "Commands" and "Cvars" below.

Commands:

Disconnect from server and restore your original name:
Chat:
say /disconnect
say /leave
Console:
/disconnect
/leave
Quit Half-Life and restore your original name:
Chat:
say /quit
say /exit
Console:
/quit
/exit
When an admin connects to the server it records his original name, then it adds the [ADMIN] tag. When the admin wants to disconnect from the server he can type /disconnect or /leave and it will disconnect him and change his name to what it was before the [ADMIN] tag was added. If the admin wants to exit half life he can type /quit or /exit and it will exit half life and change his name to what it was before the [ADMIN] tag was added.

Cvars:
amx_admin_tag <1|0> Enables/Disables all plugin functionality.
amx_admin_tag_fraud <1|0> When enabled, non-admins with [ADMIN] tag changes to [FRAUD].
Dontask-jello is offline
ThePsychoticOne
New Member
Join Date: Mar 2005
Old 03-10-2005 , 23:47  
Reply With Quote #2

Your plugin loops, on my server I connected and it set my name to [a] psychotic then to [a] [a] psychotic and so on until it was [a] [a] [a] [a] [a] [a] [a]
ThePsychoticOne is offline
Dontask-jello
Member
Join Date: Mar 2005
Old 03-10-2005 , 23:50  
Reply With Quote #3

I dont see how that could happen. I have tested it thoroughly and never gotten anything like that. Also, it doesn't set your name to [a] it adds a tag called: [ADMIN] .
Dontask-jello is offline
ThePsychoticOne
New Member
Join Date: Mar 2005
Old 03-10-2005 , 23:54  
Reply With Quote #4

sigh yes i know that but i assumed you would expand that, i guess i was wrong

// edit //
I figured it out
ThePsychoticOne is offline
Dontask-jello
Member
Join Date: Mar 2005
Old 03-11-2005 , 00:01  
Reply With Quote #5

So, the problem wasn't with the plugin right? Out of curiosity what was the problem?
Dontask-jello is offline
MassAsster
Member
Join Date: Jun 2004
Old 03-11-2005 , 09:30  
Reply With Quote #6

whats this based on, reserved slots? or kick , or ban?
__________________

HellzKitchenServer.com - Dedicated Game Server hosting and Clan Website Hosting.
MassAsster is offline
Dontask-jello
Member
Join Date: Mar 2005
Old 03-11-2005 , 21:42  
Reply With Quote #7

It registers on an admin with any flag but "z". For example they can have
"STEAM_XXXXXXXX" "" "b" "ce" and it would register on him, same for any other flag but "STEAM_XXXXXXX" "" "z" "ce" it wont.
Dontask-jello is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 03-12-2005 , 07:15  
Reply With Quote #8

This isn't a sleek way of doing something like this. There really are better ways of doing it. You can use set_user_info(player, "name", newname) to change the name of a player, serverside. It will not affect his client setting.

Trashed.
Johnny got his gun 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 03:48.


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