Raised This Month: $32 Target: $400
 8% 

Report Abusive Players v1.0 - 7/sept/06


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   GHW_Chronic (70)
Gizmo
Senior Member
Join Date: May 2006
Location: Sweden
Old 08-06-2006 , 19:51   Report Abusive Players v1.0 - 7/sept/06
Reply With Quote #1

Report Abusive Players

This plugin allowes the players on your server to report other players on your server through a menu with static reasons.
All reports is saved to a mysql database and the admins can check them when in game either by listing them in the console or in a motd window (motd requires you to have a php web server) and deleting the reports while in game also.
New in version 0.3 is that you can setup this plugin to record demos from HLTV when a player gets reported, you have to activate this function before you compile the plugin se readme.txt for more info.

Player commands
say !report will show the menu.


Installation
Read the readme.txt file.


Requirements
Amxmodx 1.75+
Mysql server (tested on mysql 5+)


Changelog
0.4
Added Possibilty to record demos from HLTV when players get reported
Added server nick so you can see what server the report came from if you are saving reports from more than 1 server to the same table
Changed so you can set how long a user has to wait before he/she can send a report again.
Changed so you can set what flag a user needs to use show and delete reports command with a cvar.

0.5
Added defines for setting if you want to use default sql cvars or custom sql cvars for this plugin
Added a cvar "ar_reportadmins" to sett if users can report admins or not.
Changed the menu so first you get the playermenu and when you press a player you get the reasonmenu to choose a reason from
Updated the language file.

1.0
Added an own config file and removed the option to choose standard sql cvars or custom, the sql cvars is in the report_abuse.cfg file now
Added a new cvar "ar_hide_admins", set this to 1 if you want to hide your admin status.


Credits
xatazch for the idea of this plugin
Suicid3 showing how to do so the reasons can be changed in the language file.
Edgar for German translation
Attached Files
File Type: zip ar_webfiles.zip (969 Bytes, 1601 views)
File Type: cfg report_abuse.cfg (1.7 KB, 1570 views)
File Type: txt report_abuse.txt (4.4 KB, 1566 views)
File Type: sma Get Plugin or Get Source (report_abuse.sma - 3186 views - 20.3 KB)
File Type: txt AR_README.TXT (3.6 KB, 1498 views)
__________________

Last edited by Gizmo; 09-08-2006 at 14:01. Reason: Update
Gizmo is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 08-06-2006 , 20:02   Re: Report Abusive Players
Reply With Quote #2

Very easy to read..I like it...Hope it gets approved..Its a step up from GHW's anti admin abuse


+karma.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
Gizmo
Senior Member
Join Date: May 2006
Location: Sweden
Old 08-07-2006 , 01:48   Re: Report Abusive Players
Reply With Quote #3

Quote:
Originally Posted by SweatyBanana
Very easy to read..I like it...Hope it gets approved..Its a step up from GHW's anti admin abuse


+karma.
Thx
__________________
Gizmo is offline
{NM}Jason
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Texas
Old 08-07-2006 , 03:40   Re: Report Abusive Players
Reply With Quote #4

Very Nice work.
__________________
http://forums.alliedmods.net/showthr...396#post451396
Quote:
Originally Posted by BAILOPAN View Post
Shortly after posting that image, Jason crushed the truck into a ball with his hands, and tossed it over his shoulder.
{NM}Jason is offline
Send a message via ICQ to {NM}Jason Send a message via AIM to {NM}Jason Send a message via MSN to {NM}Jason Send a message via Yahoo to {NM}Jason
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 08-07-2006 , 09:26   Re: Report Abusive Players
Reply With Quote #5

Code:
insert_report(id, value) {     switch(value)     {         case 1: reason = "Skywalking"         case 2: reason = "Reapeted TK/TD"         case 3: reason = "Spawnkilling"         case 4: reason = "Wallhack"         case 5: reason = "Aimbot"         case 6: reason = "Speedhack"         case 7: reason = "Bad language"         case 8: reason = "Swearing"     }

Should be
Code:
insert_report(id, value) {     switch(value)     {         case 1: format(reason, 31 , "%L" , LANG_SERVER , "REASON_1")         case 2: format(reason, 31 , "%L" , LANG_SERVER , "REASON_2")         case 3: format(reason, 31 , "%L" , LANG_SERVER , "REASON_3")         case 4: format(reason, 31 , "%L" , LANG_SERVER , "REASON_4")         case 5: format(reason, 31 , "%L" , LANG_SERVER , "REASON_5")         case 6: format(reason, 31 , "%L" , LANG_SERVER , "REASON_6")         case 7: format(reason, 31 , "%L" , LANG_SERVER , "REASON_7")         case 8: format(reason, 31 , "%L" , LANG_SERVER , "REASON_8")     }

strings aren't set with the = sign. Plus you want to keep static with the reasons in the lang file.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
Gizmo
Senior Member
Join Date: May 2006
Location: Sweden
Old 08-07-2006 , 09:34   Re: Report Abusive Players
Reply With Quote #6

Thx Suicid3 i was wondering how to do that
__________________
Gizmo is offline
NemesisDelta
Senior Member
Join Date: Jul 2006
Location: Germany/Hessen/Kassel
Old 08-07-2006 , 19:52   Re: Report Abusive Players
Reply With Quote #7

nice but were i could get a webspace for the "abusereports.php" ???
NemesisDelta is offline
Send a message via ICQ to NemesisDelta
Gizmo
Senior Member
Join Date: May 2006
Location: Sweden
Old 08-07-2006 , 20:59   Re: Report Abusive Players
Reply With Quote #8

You dont need that acctualy if you dont have a webspace, you can use the console function to print the reports in the console.
__________________
Gizmo is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 08-08-2006 , 12:37   Re: Report Abusive Players
Reply With Quote #9

What is the correct usage to show reports in the console? cause I reported myself to test this, then did amx_showreports console but nothing showed up.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
Gizmo
Senior Member
Join Date: May 2006
Location: Sweden
Old 08-08-2006 , 12:46   Re: Report Abusive Players
Reply With Quote #10

If there is no reports nothing will show up, just a text in the console and chat that tell you that there are no reports
__________________
Gizmo is offline
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 19:43.


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