|
楼主 |
发表于 2009-1-30 08:05:25
|
显示全部楼层
来自 中国–浙江–丽水
啊.....原版正宗英文---------------请看下面========
===============================================================================
User registration plugin - Version 1.25
===============================================================================
http://forums.alliedmods.net/showthread.php?p=120842
--------
Features
--------
-Changes users names if
# not logged in
# uses a blocked name (support for exceptions)
-Option to gag users that are not logged in (gag say, say_team and voice comm)
** voice comm gag untested **
-Authentication via 3 systems
# Name and password
# Steam ID
# IP
-1 account per Steam ID / IP (only if Steam ID / IP authentication is used)
-uses a variable in 'setinfo' to store password / Steam ID / IP
-For email registration in game register and unregister is disabled
-PHP registration form available
------------
Requirements
------------
-MySQL
-engine module (used for voice mute)
---------
Tested on
---------
-Windows XP Professional Edition
-AMX mod v 1.71
-MySQL 5.0.18-nt
-Counter-Strike
Exe version 1.1.2.5/2.0.0.0 (cstrike)
Exe build: 21:56:52 Feb 8 2006 (338
--------------
Main Functions
--------------
Register, Unregister, Login functions have different syntax depending on authentication type
reg <name> <pass> Register a name (Name/Password authentication)
reg <name> Register a name (Steam ID / IP authentication)
ureg <name> <pass> Unregister (Name/Password authentication)
ureg Unregister (Steam ID / IP authentication)
login <name> <pass> Login (Name/Password authentication)
login Login (Steam ID / IP authentication)
logout Logout of account
userReghelp Help screen
'''''''''''''''
Admin Functions
'''''''''''''''
adreg <user> <pass> Register a user. <pass> may be password / Steam ID / IP
adureg <name> Unregister user via name
aduregID <id> Unregister user via Steam ID / IP
addblock <word> Add word to block list
delblock <word> Remove word to block list
-----
cvars
-----
amx_registerLogin if set auto logs user in after registration of name
punishments for not loggin in
'''''''''''''''''''''''''''''
amx_punishGag gag chat
-1 - no gag
0 - gag say and team say
1 - gag say
2 - gag team say
amx_punishGagVoice gag voice communication
0 - no gag
1 - gag set
amx_msgOverload
1 - displays a lot of messages continually
---------
Changelog
---------
v 1.25 Added using a file to store data instead of a database
Works with AMX Mod v 1.71: changed set_user_info() function - removed last parameter
Fixed consoleAdminUnregister() that did not unregister user
v 1.24 Changed behavour of msgOverload slightly and fixed bug where logged in users logouts and does not get any msgOverload
Added md5 hashing of passwords, and thus changed table layout for email activation
v 1.23 Added a few fixes and changed the working of the plugin so that as long as user isnt registered, name will be [Unregistered]
v 1.22 Added plugin_modules() as suggested by devicenull :)
=========================================================================================
Online Username registration to accompany amxmodx User registration plugin - Version 1.23
=========================================================================================
Changelog
---------
v1.23 Uncommented mailing function used for debugging. Updated populateDB.php to correct WAITING_TABLE create table command
v1.22 Changed email verification regular expression. Previous expression incorrect
Old incorrect: http://codewalkers.com/tutorials/73/1.html
New verified correct: http://www.zend.com/zend/spotlight/ev12apr.php
v1.21 Removed email verification for nus.edu.sg. Uncommented generic email verification |
|