View Single Post
Plugin Info:     Modification:          Category:          Approver:   Xanimos (85)
F34RInc
BANNED
Join Date: Dec 2005
Location: Medellín, Colombia
Old 09-08-2006 , 10: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 - 13062 views - 2.6 KB)

Last edited by F34RInc; 09-15-2006 at 18:23.
F34RInc is offline
Send a message via AIM to F34RInc Send a message via MSN to F34RInc