|
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/ |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注个册吧
×
|