PDA

View Full Version : Reserved Names


BillyTheKid
08-01-2004, 23:57
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/.

devicenull
08-01-2004, 23:59
Cant you do this with amxx's access list? You can set some names to require a password at least

BillyTheKid
08-02-2004, 00:08
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
08-02-2004, 10:44
:?:

Burnzy
08-02-2004, 11:02
i liky. This can as well help me with a different plugin im making.

BillyTheKid
08-02-2004, 11:11
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
08-02-2004, 23:46
Not sure if I'm missing anything please let me know if I am!

OP4 | SM!L3Y
08-23-2004, 19:01
Is this only for cs:cz or will it work with regular cs?
By the way. Nice plugin. :twisted:

BillyTheKid
08-23-2004, 23:22
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!!!!!!!!