搜索
查看: 13943|回复: 53

[AMXX 带源码] 帐号注册插件[带SMA]

[复制链接]
发表于 2009-1-29 09:18:37 | 显示全部楼层 |阅读模式 来自 中国–浙江–丽水–缙云县
命令:
主要职能
--------------
注册,注销,登录职能有不同的语法取决于验证类型
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 -显示了大量的信息不断

                        

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注个册吧

×
发表于 2009-1-29 09:43:43 | 显示全部楼层 来自 中国–广东–东莞
这翻译啥玩意呀,看不明白
回复

使用道具 举报

 楼主| 发表于 2009-1-29 10:18:53 | 显示全部楼层 来自 中国–浙江–丽水–缙云县
啊。。。
控制台输入reg 名字  密码   回车注册一个帐号
第2次进入:login 名字 密码 回车登陆一个帐号
回复

使用道具 举报

发表于 2009-1-29 11:24:08 | 显示全部楼层 来自 中国–浙江–杭州–余杭区
恩 可以的 有原码
回复

使用道具 举报

 楼主| 发表于 2009-1-29 11:27:42 | 显示全部楼层 来自 中国–浙江–丽水
当然,像我这种菜鸟中的经营[这2个打不出.../]  我当然发SMA了!
回复

使用道具 举报

发表于 2009-1-29 12:46:44 | 显示全部楼层 来自 中国–广东–深圳–宝安区
正需要,不过你这介绍看的有点头晕~~~
回复

使用道具 举报

 楼主| 发表于 2009-1-29 12:59:13 | 显示全部楼层 来自 中国–浙江–丽水
可英文介绍就是这样啊.....
回复

使用道具 举报

发表于 2009-1-29 21:08:39 | 显示全部楼层 来自 中国–广东–深圳–罗湖区
翻译有问题!~!!
回复

使用道具 举报

 楼主| 发表于 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
回复

使用道具 举报

发表于 2009-1-30 11:11:07 | 显示全部楼层 来自 中国–河南–三门峡
这里能说话了!!! 吼吼!!
回复

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

快速回复 返回顶部 返回列表