Raised This Month: $51 Target: $400
 12% 

AMX_BANSHOT new version


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   Emp` (115)
kuddo
Member
Join Date: Mar 2008
Location: Front of the PC
Old 04-14-2008 , 04:19   AMX_BANSHOT new version
Reply With Quote #1

Original plugin by: [lego]F34R

Edited/Renewed: kuddo

Description: I re-adapted this plugin so that will improve the admin's job alot. If a player gets banned he will get 2 screenshots with the server name, his name, his ip, his steamid, the admin name, the reason, and the website that he will have to see to get unbanned; if he has the console down then he will get the same thing in his console then screenshot with his console with server name, admin name etc etc. This plugin will save every ban on the server in a txt file called BannedwithSS.txt and in that file you will see the date/hour the ban was taken, you will see the person's name, his ip, but also you will see the name of the admin that banned him and the reason for the ban.

(The plugin is translated in English...dont follow the language in the screenshot i've made, that is just to make an opinion)

Commands:
amx_banshot <name> <time> <reason>


Cvars:
amx_banurl "" - you have to add youre website between the quotes and you have to put the cvar in youre server.cfg (or amxx.cfg)

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. I suggest to use option 2, that is ban by ip...it works like a charm. This cvar goes to addons/amxmodx/configs/amxx.cfg (or server.cfg). (DEFAULT: 2)

Notes:
For a permanent ban you have to set the time to 0.0 like:
Code:
amx_banshot Johnny 0.0 wallhack
Bugs:
The reason for the ban must be set to one word, because if you set two or more words it will be outside the parameters. So i suggest to use one word (ex. aim, wall, wallhack, esp, pictures etc)

Hope you will enjoy this.

UPDATES:
09.08.2008 - v1.0 Fixed bug that you couldnt ban permanently, now YOU CAN ban permanently (read the Notes above).


SCREENSHOTS:
The Admin name from the screenshots it's the server's name because i banned myself from the console. If another admin would have banned me, then his name would apear in the Admin section.


[IMG]http://img295.**************/img295/2171/consoleji1.th.png[/IMG]

[IMG]http://img295.**************/img295/2271/banshotne9.th.png[/IMG]
Attached Files
File Type: sma Get Plugin or Get Source (amx_banshot.sma - 8182 views - 2.5 KB)
__________________

Last edited by kuddo; 10-05-2009 at 18:12.
kuddo is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 04-14-2008 , 08:48   Re: AMX_BANSHOT new version
Reply With Quote #2

Remove the .amxx file. It is not needed
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
rudle
BANNED
Join Date: Mar 2008
Location: About to be sent to bant
Old 04-14-2008 , 11:58   Re: AMX_BANSHOT new version
Reply With Quote #3

Should use Sqlx To upload the pictures ;)
rudle is offline
kuddo
Member
Join Date: Mar 2008
Location: Front of the PC
Old 04-14-2008 , 14:39   Re: AMX_BANSHOT new version
Reply With Quote #4

errr...sorry i'm new into this thing... i removed the amxx.
i adjusted this plugin to help others like myself that couldnt find anything all over the internet. Didnt made this plugin to get popular

(Yes i know...my english sucks, thank you)
kuddo is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 04-14-2008 , 14:58   Re: AMX_BANSHOT new version
Reply With Quote #5

Quote:
Originally Posted by rudle View Post
Should use Sqlx To upload the pictures ;)
Describe how using SQL can UPLOAD an image.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
rudle
BANNED
Join Date: Mar 2008
Location: About to be sent to bant
Old 04-14-2008 , 16:26   Re: AMX_BANSHOT new version
Reply With Quote #6

because it can... its like the log.txt use that code and do it for your self ive done it its a private code
rudle is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 04-14-2008 , 16:33   Re: AMX_BANSHOT new version
Reply With Quote #7

You cannot upload files via SQL. SQL is a database, not a file uploader.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
gligorhoria
New Member
Join Date: Nov 2007
Old 04-15-2008 , 05:40   Re: AMX_BANSHOT new version
Reply With Quote #8

Tare rău! Poftim şi nişte karma de la mine!
gligorhoria is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 04-15-2008 , 10:25   Re: AMX_BANSHOT new version
Reply With Quote #9

Quote:
Originally Posted by rudle View Post
Should use Sqlx To upload the pictures ;)
Back to the same question, just worded differently. Describe how you will upload a file that is on the clients comp (file location is unknown)


@OP: Use pcvars (not just for one of the 2 cvars you registered)
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
kuddo
Member
Join Date: Mar 2008
Location: Front of the PC
Old 04-15-2008 , 14:29   Re: AMX_BANSHOT new version
Reply With Quote #10

Quote:
Originally Posted by gligorhoria View Post
Tare rău! Poftim şi nişte karma de la mine!

Multumesc (a.k.a. thank you)

Last edited by kuddo; 04-15-2008 at 18:06.
kuddo is offline
Reply



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 03:08.


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