Z3327674 发表于 2009-1-29 09:18:37

帐号注册插件[带SMA]

命令:
主要职能
--------------
注册,注销,登录职能有不同的语法取决于验证类型
reg <name> <pass>注册的名称(姓名/密码身份验证)
    reg <name> 注册一个名称(蒸汽编号/ IP验证)
   ureg <name> <pass> 注销(名称/密码身份验证)
   ureg   注销(蒸汽编号/ IP验证)
    login <name> <pass>登录(名称/密码身份验证)
    login          (蒸汽编号/ IP验证)
   logout                      注销登出帐户

   userReghelp帮助屏幕

Admin Functions   管理员用法[控制台]
'''''''''''''''
adreg <user> <pass>      -注册用户。 <pass>可能是密码/蒸气编号/ IP协议
   adureg <name>   -通过注销用户名称
   aduregID <id>         -注销用户通过Steam编号/ IP协议
   addblock <word>         -新增词来阻止列表
   delblock <word>            -删除Word阻止列表


-----
cvars----也就是写在amxx.cfg里面的
-----
amx_registerLogin如果设置自动记录用户在注册后的名称

    惩罚不是loggin在
   '''''''''''''''''''''''''''''
   amx_registerLogin             -如果设置自动记录用户在注册后的名称
惩罚不是登陆进去后再。。。
         -1 -没有插科打诨
          0 -插科打诨说和团队说
          1 -插科打诨说
          2 -氨基多糖团队说
   amx_punishGagVoice插科打诨语音通信
         0 -没有插科打诨
         1 -插科打诨设置

   amx_msgOverload
         1 -显示了大量的信息不断

                        

yangxi2008 发表于 2009-1-29 09:43:43

这翻译啥玩意呀,看不明白

Z3327674 发表于 2009-1-29 10:18:53

啊。。。
控制台输入reg 名字密码   回车注册一个帐号
第2次进入:login 名字 密码 回车登陆一个帐号

lanmao 发表于 2009-1-29 11:24:08

恩 可以的 有原码

Z3327674 发表于 2009-1-29 11:27:42

当然,像我这种菜鸟中的经营[这2个打不出.../]我当然发SMA了!

xiatian 发表于 2009-1-29 12:46:44

正需要,不过你这介绍看的有点头晕~~~

Z3327674 发表于 2009-1-29 12:59:13

可英文介绍就是这样啊.....

tlxch 发表于 2009-1-29 21:08:39

翻译有问题!~!!

Z3327674 发表于 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 Feb8 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.25Added 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.24Changed 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.23Added a few fixes and changed the working of the plugin so that as long as user isnt registered, name will be
v 1.22Added 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

tingshow163 发表于 2009-1-30 11:11:07

这里能说话了!!! 吼吼!!
页: [1] 2 3 4 5 6
查看完整版本: 帐号注册插件[带SMA]