Copyright 2011 Cstrike-ManiaCs. Powered by Blogger.
RSS

Advanced Bans (Real Time) by Exolent for AmxModx

Description:

  • This plugin revamps the current amx_ban, amx_banip, amx_banid, amx_unban admin commands.
  • It uses Real Time on the server (Eg. Banned for 10 minutes, you will be unbanned 10 minutes later, regardless of map changing).
  • It includes a list of who is banned.
  • It does not use the banned.cfg or listip.cfg. It uses its own file where bans are stored.
  • It saves what admin banned the player (name), the admin's steamid, the reason, the ban time, the banned player's name, the banned player's steamid (or IP), and the estimated time of unban.
  • It will load your currently banned players from the banned.cfg and listip.cfg files. (Only if the #define at the top of the plugin is uncommented)
  • If you use the menu to ban players, you will have to type a reason after you choose a player.
  • If you use the vote system to ban players, you will have to type a reason after you execute the amx_voteban command.
  • You can limit the ban time for admins based on their admin flags.
  • You can monitor all ban history (admins banning, unbanning, and when ban times are up) in theaddons/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 
  • amx_banip 
  • amx_addban 
  • amx_unban 
  • amx_banlist
    - Shows a list of who is banned
  • amx_addbanlimit 
Cvars:
  • ab_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 
    • Delay of banned players being disconnected.
    • Default: 1
  • ab_unbancheck 
    • Interval of checking if a player is unbanned.
    • Default: 5
Requirements:
  • AMX Mod X version 1.8.1 or higher
How To Use:
  1. Get Plugin for all 3 plugins at the bottom of this post. (If you want SQL, get advanced_bans_sql. Otherwise, useadvanced_bans.
  2. Place the advanced_bans.amxx, plmenu.amxx, and adminvote.amxx files in your server's addons/amxmodx/pluginsfolder.
    Note: You must overwrite your old plmenu.amxx and adminvote.amxx files.
  3. Open the plugins.ini from your server's addons/amxmodx/configs folder.
  4. Add advanced_bans.amxx at the top of the file!!!
  5. Make sure that plmenu.amxx and adminvote.amxx are enabled.
  6. Save and close the file.
  7. Place advanced_bans.txt from the bottom of this post in your server's addons/amxmodx/data/lang folder.
  8. Change the map or restart your server.
Download:

advanced_bans.txt (11.9 KB, 8617 views)
Get Plugin or Get Source (adminvote.sma - 11413 views - 17.1 KB)
Get Plugin or Get Source (plmenu.sma - 10983 views - 25.0 KB)
Get Plugin or Get Source (advanced_bans.sma - 11533 views - 49.8 KB)
Get Plugin or Get Source (advanced_bans_sql.sma - 6758 views - 49.8 KB)

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 comments:

Post a Comment

google-site-verification: google5f70f6edf33e1bcf.html