View Single Post
Plugin Info:     Modification:          Category:          Approver:   v3x (159)
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 02-14-2006 , 02:55   Anti-Admin Abuse | All In One
Reply With Quote #1

  • This plugin allows players to report people for admin abuse. When they have been reported, the last 10 commands executed by the admin will be written into a log file for you to review.

  • Here is what the log file will look like:
    Code:
    *****************************
    ****** Abuse Report!!! ******
    
    06-11-2007 - 14:29:17
    GHW_Chronic (STEAM_ID_LAN) Reported GHW_Chronic (STEAM_ID_LAN) for Admin Abuse. GHW_Chronic's Comment:
    he stuiopid
    
    Last 10 commands used by Admin:
    
    1. GHW_Chronic (STEAM_ID_LAN): 06-11-2007 - 14:28:55: Command Syntax: amx_slap GHW     
    2. GHW_Chronic (STEAM_ID_LAN): 06-11-2007 - 14:28:55: Command Syntax: amx_slap GHW     
    3. GHW_Chronic (STEAM_ID_LAN): 06-11-2007 - 14:28:55: Command Syntax: amx_slap GHW     
    4. GHW_Chronic (STEAM_ID_LAN): 06-11-2007 - 14:28:56: Command Syntax: amx_slap GHW     
    5. GHW_Chronic (STEAM_ID_LAN): 06-11-2007 - 14:28:56: Command Syntax: amx_slap GHW     
    6. GHW_Chronic (STEAM_ID_LAN): 06-11-2007 - 14:28:56: Command Syntax: amx_slap GHW     
    7. GHW_Chronic (STEAM_ID_LAN): 06-11-2007 - 14:28:56: Command Syntax: amx_slap GHW     
    8. GHW_Chronic (STEAM_ID_LAN): 06-11-2007 - 14:28:56: Command Syntax: amx_slap GHW     
    9. GHW_Chronic (STEAM_ID_LAN): 06-11-2007 - 14:28:57: Command Syntax: amx_slap GHW     
    10. GHW_Chronic (STEAM_ID_LAN): 06-11-2007 - 14:28:57: Command Syntax: amx_slap GHW     
    *****************************

  • Commands:
    • amx_report - client command, reports admin abuse. Advertised in the chat every minute + a half.

  • CVARs:
    • aa_vote_length - How long the vote lasts (Seconds). (Default 45)
    • aa_vote_delay - Delay before a new vote can be started (Seconds). (Default 20)
    • aa_vote_on - If set to 0, the admin will just be reported to the log file and a vote will not take place. (Default 1)
    • aa_advertise - How often amx_report is advertised in chat (Seconds). (Default 150)

  • Log file:
    • Will appear in your configs directory. It is named admin_abuse_log.log

  • WHAT COMMANDS ARE LOGGED?:
    • Whichever commands you want. Just download the abuse_commands.ini and edit it to put in all the commands you wish to record. Place this file into your amxmodx/configs folder.

  • IMPORTANT NOTE:
    • You should place this plugin onto the first line of your plugins.ini. Like so:
    • Code:
      GHW_Ani-Abuse.amxx
      ; AMX Mod X plugins
      
      ; Admin Base - Always one has to be activated
      admin.amxx		; admin base (required for any admin-related)
      
      ...
    • This is so that the plugin can read all of the commands before the other plugins handle them. If you do not do this, most commands will not be caught by the plugin.
Attached Files
File Type: ini abuse_commands.ini (37 Bytes, 2638 views)
File Type: sma Get Plugin or Get Source (GHW_Anti-Abuse.sma - 3660 views - 9.7 KB)
File Type: txt GHW_Anti-Abuse.txt (4.1 KB, 1880 views)

Last edited by GHW_Chronic; 07-04-2009 at 18:20.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic