搜索
查看: 3069|回复: 9

[AMXX 带源码] Advanced Bans支持数据库和多服务器同时ban

[复制链接]
发表于 2009-6-3 11:59:47 | 显示全部楼层 |阅读模式 来自 中国–河南–洛阳
You can monitor all ban history (admins banning, unbanning, and when ban times are up) in the addons/amxmodx/logs/BAN_HISTORY_MMDDYYYY.log (MM = month, DD = day, YYYY = year)
If you wish to have only 1 file for ban history, uncomment the line at the top of the .sma file and recompile.
SQL is also supported and works for multiple servers. If you use the same SQL database for more than 1 server, then those servers will share the ban list.
For SQL, the default cvars for the SQL database will be used (amx_sql_host, amx_sql_user, amx_sql_pass, amx_sql_db).

Commands:
amx_ban <nick, #userid, authid> <time in minutes> <reason>
amx_banip <nick, #userid, authid> <time in minutes> <reason>
amx_addban <name> <authid or ip> <time in minutes> <reason>
amx_unban <authid or ip>
amx_banlist
- Shows a list of who is banned
amx_addbanlimit <flags> <time in minutes>
- Adds a max ban time to the list
- Note: Use this command in the amxx.cfg

Cvars:
ab_website <website>
This is the website displayed to the banned player if you have an unban request section on your website.
Leave blank to not show a website.
Default: blank
ab_immunity <0|1|2>
0 - Any admin can ban an immunity admin (flag 'a').
1 - Immunity admins (flag 'a') cannot be banned.
2 - Immunity admins (flag 'a') can only be banned by other immunity admins (flag 'a').
Default: 1
ab_bandelay <seconds>
Delay of banned players being disconnected.
Default: 1
ab_unbancheck <seconds>
Interval of checking if a player is unbanned.
Default: 5
官方网站找到的,试验过完全可以使用,分享给大家!
特点:可以使用数据库来记录ban记录,并且多个服务器共同生效!
使用方法
http://www.5zpcs.cn/viewthread.php?tid=1182&extra=page%3D1
web网页演示:
http://www.5zpcs.cn/bans/

本帖子中包含更多资源

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

×
发表于 2009-6-3 13:36:56 | 显示全部楼层 来自 中国–山西–晋城
既然BAN掉了IP ...... 就应该不能进其它服,难道你的服有多个IP? :o
不过Web记录这些还是不错的.
回复

使用道具 举报

发表于 2009-6-3 16:12:08 | 显示全部楼层 来自 中国–湖北–武汉
小白太小白了  人家多了多个服务器用的
同一个IP也可以多个端口啊  
每个服务器要是独立的文件 那不就多个服务器了

多个服务器共用一个服务器文件不稳定的
回复

使用道具 举报

发表于 2009-6-3 16:37:50 | 显示全部楼层 来自 中国–广西–百色
对于动态IP的玩家封IP没用的,封禁机器码才有用........................
回复

使用道具 举报

 楼主| 发表于 2009-6-3 16:46:53 | 显示全部楼层 来自 中国–河南–洛阳
机器码?实际想想和封禁ip有多大区别,自己家的电脑,常去的服务器有谁傻了找个作弊器让人家封机器码,网吧的封了机器码作弊的再换过其他机器照样使用。
回复

使用道具 举报

发表于 2009-6-3 21:48:43 | 显示全部楼层 来自 中国–广东–深圳
回复

使用道具 举报

发表于 2009-6-3 22:03:23 | 显示全部楼层 来自 中国–天津–天津
:victory::victory::victory:
回复

使用道具 举报

发表于 2009-11-6 20:14:50 | 显示全部楼层 来自 中国–北京–北京
支持一下·~~!!
回复

使用道具 举报

发表于 2009-11-8 09:03:59 | 显示全部楼层 来自 中国–湖南–怀化–鹤城区
先收下了,马上测试
回复

使用道具 举报

发表于 2009-11-8 10:16:41 | 显示全部楼层 来自 中国–湖南–怀化–鹤城区
PHP显示不出来??
http://www.hheye.com.cn/ban   

请告知解决方法
回复

使用道具 举报

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

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