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

Name Registration / Management 2.04


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   devicenull (200)
twistedeuphoria
Veteran Member
Join Date: Jul 2004
Old 09-06-2004 , 21:10   Name Registration / Management 2.04
Reply With Quote #1

This plugin allows you to do many things with names, including register, unregister, block from use, block phrases from use, force registration, force usage of registered names, enforce minimum name lengths and disallow peoples' names to contain each other.

This plugin will work with SQL or files by define (check the list of defines) and will also work with LAN or internet (automatically detected each time a command is used).

Admin Commands:
All admin commands have definable access level.
-blockname <name> - Block a name from being used.
-bname <name> - Same as blockname.
-blocklist - Display a list of blocked names.
-blist - Same as block list
-removename <name> - Remove all restrictions on a name.
-remname <name> - Same as removename.
-pblockname <name> - Block a phrase from use in a name.
-pblock <name> - Same as pblockname.

Commands:
All commands restrictable by define.
-registername - Register your current name.
-regname - Same as registername.
-unregistername - Unregister your current name.
-uregname - Same as unregistername.
-listnames - Display a list of your registered names.
-lnames - Same as listnames.

Cvars:
Values for punish cvars are as follows:
-0 - Do not change their name but warn and kick them
-1 - Change their name to a specific name (Registered_Name, Blocked_Name, etc.) then warn and kick them
-2 - Change their name to a random name in punishname.txt then warn them
-3 - Change their name to a random name in punishname.txt then warn and kick them
-4 - Change their name to one of their own registered names and tell them what happened (if they don't have one this is treated as a 0)
Note: Of course, turning the requirement to register on and setting the punish level at 4 is pointless, so it is not included.
-amx_minnamelen (default 4) - Set minimum name length for players.
-amx_namelenpunish (default 0) - Set punishment for having too short of a name.
-amx_containname (default 1) - Set check to see if one player's name contains another's.
-amx_containpunish (default 0) - Set punishment for having a name contained or containing another player's name.
-amx_pblockpunish (default 0) - Set punishment for using a name which contains a phrase that has been blocked.
-amx_regpunish (default 0) - Set punishment for using someone else's registered name.
-amx_forcereg (default 0) - Force users to have a name registered? 0 = No | 1 = Yes
-amx_notregpunish (default 0) - Set punishment for not having a registered name (if amx_forcereg is 1)
-amx_forceuse (defualt 0) - Force people with registered names to use one of them.
-amx_maxregnames (default 5) - Set the maximum amount of names a player can register.
-amx_allowreg (default 1) - Set whether or not only admins can register. 0 = Admins only | 1 = Everyone can register
-amx_viciouswait (default 0; in seconds) - How long to wait for a player to spawn to change their name. If they don't spawn in time they will be spawned, have their name changed then slayed by the plugin (without affecting their score)


Defines:
-SQLON (default 0) - 0 = Use file | 1 = Use SQL

-REG_ACCESS (default ADMIN_USER) - Set access required to register a name.
-UNREG_ACCESS (default ADMIN_USER) - Set access required to unregister a name.
-REM_NAME_ACCESS (default ADMIN_KICK) - Set access required to remove restrictions on a name.
-BLOCK_ACCESS (default ADMIN_KICK) - Set access required to block a name from use.
-P_BLOCK_ACCESS (default ADMIN_KICK) - Set access required to block a phrase from use in names.
-BLOCK_LIST_ACCESS (default ADMIN_CHAT) - Set access required to view all blocks and phrase blocks.
-LIST_NAMES_ACCESS (default ADMIN_USER) - Set access required to view all your registered names.

Please notice that the plugin file name has changed from previous versions.

-How do I add punishnames to SQL?
You will need to insert new values into the table in this format: "name" "type"
(Type = s for short | c = name containment | p = phrase blocked | b = blocked name | r = already registered name | n = not registered)
Mirror-ish
Attached Files
File Type: sma Get Plugin or Get Source (nameregistration.sma - 9400 views - 80.9 KB)
File Type: txt regchangeloghelp.txt (7.7 KB, 4816 views)
__________________
twistedeuphoria is offline
 



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 00:01.


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