Raised This Month: $94 Target: $400
 23% 

Amx_banshot ban with screenshot


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   Xanimos (85)
F34RInc
BANNED
Join Date: Dec 2005
Location: Medellín, Colombia
Old 09-08-2006 , 11:52   Amx_banshot ban with screenshot
Reply With Quote #1

Description: Prints info on players screen, makes them take a screenshot of it then bans user one of three ways.

Commands: amx_banshot "part of nick" "ban time" bans & forces user to take a screenshot
amx_banshotmenu - Brings up separate banning menu if using amx_banshotmenu.amxx

cvars: amx_banurl "" - Add to your server.cfg with your clan website or forum link inside (default is blank)
amx_banshot_type
<1,2,3,4> 1=ban by steam id | 2=ban by ip | 3=ban using amx_bans system | 4=Dont ban just take SS (default is 1)

If you want to integrate amx_banshotmenu into your amxmodmenu simply pate this into your custommenuitems.cfg inside your configs folder.
PHP Code:
amx_addmenuitem "Banshot Menu" "amx_banshotmenu" "hu" "Banshot Menu" 

Suggestion from http://forums.alliedmods.net/showthread.php?t=44422

Before banning the user it prints the hostname, username, steamid, ip, time, date and the website where the user can submit their ban protest. It prints the same info in their console as well before forcing them to take two screenshots of the ban message. Saves banned usernames and steamids to servers amxx logs folder under "BannedwithSS.txt".



This way if the user wants to be unbanned for suspected cheating they have to send in this time stamped screenshot. You could guess any number of flaws in this system but think about this, most people who get banned from your server even if they dont hack dont care that much because theres 40K other servers I plan to use this on my reg players who I think are BS.

09/09/06 - Added arguments for ip, steamid and amx_bans style banning
09/10/06 - Added cvar for ban method & logging
09/11/06 - Added separate ban menu & fixed problem with log saving incorrect usernames
09/15/06 - Fixed problem with inflated ban time, readded second argument for the ban time and added option 4 that wont ban the user it will take the image then amx_say your amx_banurl.
To anyone using the amx_banshotmenu it prob won't work with the newest update, I tried to add an option to toggle though all the ban times but it didnt work so its broken till further notice.

Current version
: 1.0.4

Credit: Doombringer
xeroblood
for his menu example
Attached Files
File Type: sma Get Plugin or Get Source (amx_banshot.sma - 12387 views - 2.6 KB)

Last edited by F34RInc; 09-15-2006 at 19:23.
F34RInc is offline
Send a message via AIM to F34RInc Send a message via MSN to F34RInc
Switchie
Senior Member
Join Date: Mar 2006
Location: Belgium
Old 09-08-2006 , 12:02   Re: Amx_banshot ban with screenshot
Reply With Quote #2

This is really something nice :-)

So if i ban the player then the plugin will take a screenshot on his pc with the green ban text ? like amx_execclient player screenshot?

This is nice for regular players that i want to check for wallhack and then he must upload the screenshot to me

I hope this gets aproved dude , +karma for you :-)

Greetz
__________________

Last edited by Switchie; 09-08-2006 at 12:05.
Switchie is offline
Ramono
Veteran Member
Join Date: Nov 2005
Location: Netherlands
Old 09-08-2006 , 12:09   Re: Amx_banshot ban with screenshot
Reply With Quote #3

Is a nice idea, and maybe im gonna use it.
++karma for you.
__________________
Um, hi.

Last edited by Ramono; 09-08-2006 at 12:20.
Ramono is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 09-08-2006 , 12:19   Re: Amx_banshot ban with screenshot
Reply With Quote #4

I dont think you understand what the screenshot is for..

It takes a screenshot of the ban info.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
Ramono
Veteran Member
Join Date: Nov 2005
Location: Netherlands
Old 09-08-2006 , 12:20   Re: Amx_banshot ban with screenshot
Reply With Quote #5

Quote:
Originally Posted by SweatyBanana View Post
I dont think you understand what the screenshot is for..

It takes a screenshot of the ban info.

Ah i see, my bad.
__________________
Um, hi.
Ramono is offline
Switchie
Senior Member
Join Date: Mar 2006
Location: Belgium
Old 09-08-2006 , 12:33   Re: Amx_banshot ban with screenshot
Reply With Quote #6

Quote:
Originally Posted by SweatyBanana View Post
I dont think you understand what the screenshot is for..

It takes a screenshot of the ban info.
On the clients pc ? (amx_execclient player screenshot )
client_cmd(target,"wait;wait;snapshot;wait;sn apshot")

Description: Prints info on players screen, makes THEM take a screenshot of it then BANS their IP.

Could you plz make it steam id ban and not ip ban and show the green text to all admins or players :-)

It seems that it only takes a client screenshot and it dont ban the client but the screenshot works.

Banning does not work

server_cmd("amx_banip %d 0",target)

And the text is not green btw

i did amx_banshot player and it taked a screenshot on the player his pc and i ask him to upload it:

http://img518.**************/img518/9...st20014ao4.jpg

I need this plugin can someone fix it plzzzzzzzzzzzzz

Greetz
__________________

Last edited by Switchie; 09-08-2006 at 12:55.
Switchie is offline
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 09-08-2006 , 13:14   Re: Amx_banshot ban with screenshot
Reply With Quote #7

The text color is just the clients hud_concolor value. If they have it as the default yellow thats what it will be.

[EDIT]

My only suggestions are:
1) Use pcvars instead of the old cvars
2) Add AMX BANS functionality, with a cvar to control how you ban. For example:
amx_banshot_bantype - Cvar that is used to determine the ban type
0 - Ban by Steam ID
1 - Ban by IP
2 - Ban by AMX BANS

If these two suggestions are made and it all works I will be glad to approve this.

Last edited by Xanimos; 09-08-2006 at 13:22.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
Switchie
Senior Member
Join Date: Mar 2006
Location: Belgium
Old 09-08-2006 , 13:18   Re: Amx_banshot ban with screenshot
Reply With Quote #8

Quote:
Originally Posted by Xanimos View Post
The text color is just the clients hud_concolor value. If they have it as the default yellow thats what it will be.
Thats why i ask above:

"Could you plz make it steam id ban and not ip ban and show the green text to all admins or players :-)"
__________________
Switchie is offline
pulpy
Senior Member
Join Date: Oct 2005
Location: Brights Grove, ON
Old 09-08-2006 , 17:33   Re: Amx_banshot ban with screenshot
Reply With Quote #9

i simply use my own methods for banning, amxbans combined with my own amx_screen works great
__________________
pulpy is offline
Zenith77
Veteran Member
Join Date: Aug 2005
Old 09-08-2006 , 19:18   Re: Amx_banshot ban with screenshot
Reply With Quote #10

It's very possible that you came up with this yourself, and I'm not going to be a cry baby about it , so this will be my only post on this. If you got this idea from me, I'd like some credit (I honestly don't think you did). I say this, not because I want it, but I have a big problem with people taking credit for something someone else did. http://forums.alliedmods.net/attachm...4&d=1152299185
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred

Last edited by Zenith77; 09-08-2006 at 19:21.
Zenith77 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 02:02.


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