Advanced Bans支持数据库和多服务器同时ban
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/ 既然BAN掉了IP ...... 就应该不能进其它服,难道你的服有多个IP? :o
不过Web记录这些还是不错的. 小白太小白了人家多了多个服务器用的
同一个IP也可以多个端口啊
每个服务器要是独立的文件 那不就多个服务器了
多个服务器共用一个服务器文件不稳定的 对于动态IP的玩家封IP没用的,封禁机器码才有用........................ 机器码?实际想想和封禁ip有多大区别,自己家的电脑,常去的服务器有谁傻了找个作弊器让人家封机器码,网吧的封了机器码作弊的再换过其他机器照样使用。 看看http://www.amxbans.net/
http://122.116.223.187:65500/amxbans/ban_list.php :victory::victory::victory: 支持一下·~~!! 先收下了,马上测试 PHP显示不出来??
http://www.hheye.com.cn/ban
请告知解决方法
页:
[1]