Raised This Month: $ Target: $400
 0% 

Reserved Names


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Condition-Zero        Category:   Server Management       
BillyTheKid
Senior Member
Join Date: Jun 2004
Old 08-01-2004 , 23:57   Reserved Names
Reply With Quote #1

Code:
AMXx Mod Script
Created by BillyTheKid
Amx_ReservedNames
Version 0.6
Email = admin@madtechview

Description:  	This plugin will protect names from being used in game.
			If a user without the rights of ADMIN_IMMUNITY tries using a	
			a name that is reserved, the plugin will change the users
			name and prompt them with a list of reserved names.  

Requirements:	It requires a file under addons/ammx/custom/WatchAdmin.cfg	
			When creating the WatchAdmin.cfg file you will need to skip 
			the first line, then line by line add names you want reserved 


Client Command:	say /reservednames


To Do:		Add Command to add user's
			Change the Motd {Look Pretty}
			Maybe interface with users.ini eventually/drop watchadmin.cfg

BugFix:
Don't forget to rename the WatchAdmin.txt to WatchAdmin.cfg after you download it. If you don't want to download the file just create a file called WatchAdmin.cfg and place it under addons/ammx/custom/.
Attached Files
File Type: txt watchadmin.txt (15 Bytes, 256 views)
File Type: sma Get Plugin or Get Source (amx_reservednames.sma - 1026 views - 3.5 KB)
BillyTheKid is offline
Send a message via AIM to BillyTheKid
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 08-01-2004 , 23:59  
Reply With Quote #2

Cant you do this with amxx's access list? You can set some names to require a password at least
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
BillyTheKid
Senior Member
Join Date: Jun 2004
Old 08-02-2004 , 00:08   Got me
Reply With Quote #3

Got me! I've never looked into that. I guess the question would be can that detect a user using a name to flame an admin.

Example:
Reserved Name is Billy.

The other way would allow them to connect with Billysucks or billythekid. This will change the users name if it detects Billy in the name.

********Plus I setup my admins by steamid not name***********

ohh yeah Thanks for the input dev!
BillyTheKid is offline
Send a message via AIM to BillyTheKid
BillyTheKid
Senior Member
Join Date: Jun 2004
Old 08-02-2004 , 10:44  
Reply With Quote #4

BillyTheKid is offline
Send a message via AIM to BillyTheKid
Burnzy
Veteran Member
Join Date: Apr 2004
Old 08-02-2004 , 11:02  
Reply With Quote #5

i liky. This can as well help me with a different plugin im making.
__________________
Burnzy is offline
Send a message via AIM to Burnzy
BillyTheKid
Senior Member
Join Date: Jun 2004
Old 08-02-2004 , 11:11   Thanks
Reply With Quote #6

Thanks man, It's really basic but it fits a need I had on my server so i'm sure there are other ppl that have a need! I wasn't going to post it but then I decided to. I figured someone could use it as a template or something else to change user's names or run a command on user's.. Also it's a great example plugin for someone new at coding.!
BillyTheKid is offline
Send a message via AIM to BillyTheKid
BillyTheKid
Senior Member
Join Date: Jun 2004
Old 08-02-2004 , 23:46   Not sure
Reply With Quote #7

Not sure if I'm missing anything please let me know if I am!
BillyTheKid is offline
Send a message via AIM to BillyTheKid
OP4 | SM!L3Y
New Member
Join Date: Aug 2004
Location: Texas
Old 08-23-2004 , 19:01  
Reply With Quote #8

Is this only for cs:cz or will it work with regular cs?
By the way. Nice plugin.
__________________
38.113.32.104:27018
Warcraft 3 Frozen Throne | OP4
OP4 | SM!L3Y is offline
Send a message via AIM to OP4 | SM!L3Y
BillyTheKid
Senior Member
Join Date: Jun 2004
Old 08-23-2004 , 23:22  
Reply With Quote #9

I wouldn't see why not man hey if you can test it let me know.

A heads up!

Everyonce in a while it will change an admins name on connect but they are able to change it back..

I will be updating this soon. It will read from two files instead of one.

ohh yeah thanks!!!!!!!!
__________________
Select * from * where *=*;
BillyTheKid is offline
Send a message via AIM to BillyTheKid
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 16:53.


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