Raised This Month: $59 Target: $400
 14% 

Anti-Admin Abuse | All In One


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   v3x (159)
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 02-14-2006 , 03: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, 2315 views)
File Type: sma Get Plugin or Get Source (GHW_Anti-Abuse.sma - 3087 views - 9.7 KB)
File Type: txt GHW_Anti-Abuse.txt (4.1 KB, 1531 views)

Last edited by GHW_Chronic; 07-04-2009 at 19:20.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Skyrider
AMX Mod X Beta Tester
Join Date: May 2005
Location: Netherlands
Old 02-14-2006 , 04:41  
Reply With Quote #2

Very nice indeed, always handy! I'll add this on my server when i get back home, thanks bro.
__________________
Skyrider is offline
Send a message via AIM to Skyrider Send a message via MSN to Skyrider Send a message via Yahoo to Skyrider
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 02-14-2006 , 08:56  
Reply With Quote #3

Quote:
[ 53] test 1.0 GHW_Chronic test.amxx running
Quote:
] amx_exec @A "spk \'vox/nice johnson _period nine inches\'"
Logged1 | amx_exec
HMMM?
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 02-14-2006 , 09:30  
Reply With Quote #4

lol, cool idea, even though i'd still prefer mine which would start a vote. There should be some way to prevent clients from falsely accusing admins, spamming admins, or accusing admins when the clients deserve to be abused (intentionally disregarding rules (i.e. keep tk'ing), hacking, etc.). lol, Bone hasn't responded in over a month so I guess its safe to say noone is currently working on this

http://forums.alliedmods.net/showthr...p?t=1090+abuse
(on bottem of page)
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 02-14-2006 , 15:02  
Reply With Quote #5

Quote:
Originally Posted by v3x
Quote:
[ 53] test 1.0 GHW_Chronic test.amxx running
Quote:
] amx_exec @A "spk \'vox/nice johnson _period nine inches\'"
Logged1 | amx_exec
HMMM?
O yeah, take the test plugin off, sorry v3x. :-D

@Lord_Destros: If They falsley accuse the admins, you will see in the log that they werent doing commands. If they deserve what was happening to them, then you can just take the admin's word for it (if it happens more than once or twice, might not be the client's fault).
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Charming
BANNED
Join Date: Nov 2005
Location: Canada
Old 02-14-2006 , 16:16  
Reply With Quote #6

Good Job Chronic
Charming is offline
Send a message via ICQ to Charming Send a message via AIM to Charming Send a message via MSN to Charming Send a message via Yahoo to Charming
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 02-14-2006 , 19:26  
Reply With Quote #7

Quote:
Originally Posted by GHW_Chronic
Quote:
Originally Posted by v3x
Quote:
[ 53] test 1.0 GHW_Chronic test.amxx running
Quote:
] amx_exec @A "spk \'vox/nice johnson _period nine inches\'"
Logged1 | amx_exec
HMMM?
O yeah, take the test plugin off, sorry v3x. :-D

@Lord_Destros: If They falsley accuse the admins, you will see in the log that they werent doing commands. If they deserve what was happening to them, then you can just take the admin's word for it (if it happens more than once or twice, might not be the client's fault).
ya but the admin can claim that the client continued to disregard rules. I like some aspects of my idea because then it brings those who have neutral stand points to see who's fault it was.
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 02-14-2006 , 19:52  
Reply With Quote #8

A. you didnt have to quote that whole thing
B. I'll add a vote feature too.
C. Besides, what's an all in one without a vote feature?
D. k
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 02-14-2006 , 21:11  
Reply With Quote #9

Okay, Added a vote function w/ 2 cvars. Votes are defaulted to on.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
llustig
Senior Member
Join Date: Oct 2004
Old 02-15-2006 , 12:37  
Reply With Quote #10

I have tested the plugin and it works great.

I do/would recommend setting a delay between votes because I could cast 3votes at the same time

If the votes can be delayed until the first vote that was casted ended, it would be sweet.



Overall, great plugin.

EDIT: BTW, when the voting finishes, no matter what people voted, yes, no, don't care, it shows that the voting resulted in 0 [yes] 0 [no] for some reason..

but in the log it shows the vote counts...

Any reason why this is happening?
__________________
llustig is offline
Send a message via AIM to llustig
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:52.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode