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

AMXX Bans - By Remo Williams


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Server Management       
mysticssjgoku4
Veteran Member
Join Date: Jan 2005
Location: Chicago Heights, IL
Old 06-10-2006 , 09:19   AMXX Bans - By Remo Williams
Reply With Quote #1

Well, here is yet ANOTHER AMXX Bans plugin.

Code:
/* (_____ \                     (____  \                   _____) ) ____ ____   ___     ____)  ) ____ ____   ___ (_____ ( / _  )    \ / _ \   |  __  ( / _  |  _ \ /___)       | ( (/ /| | | | |_| |  | |__)  | ( | | | | |___ |       |_|\____)_|_|_|\___/   |______/ \_||_|_| |_(___/                                                         ___ ___   ____      ______ |   |   | |_   |    |  __  | |   |   |  _|  |_ __|__    |  \_____/  |______|__|______| - Remo Williams                                Based off of AMXX Bans by YoMama, solely because:     there were SOOOOO MANY BUGS......(and I was bored >_>) ___________________________________________________________________ | |>| Version History |>| -->| June 10, 2006 |>| ---->| Version 1.9 Released. |__________________________________________________________________ */

Requirements:
Code:
- SQL Database
- An IQ > 10
- Patched admincmd.AMXX
Control Variables: (place in amxx.cfg)
Code:
- remo_bans_host "localhost"
- remo_bans_user "root"
- remo_bans_pass ""
- remo_bans_db "amx"
- remo_bans_table "banned"
Commands: (Privs: Ban=ADMIN_BAN / TBLINSTALL = ADMIN_IMMUNITY)
Code:
- amx_ban <user/steamid> <time> <reason>
- amx_ban_tableinstall <0-Check if exists/1-Install if doesn't exist>
Basically a fully functional SQL based ban system which works flawlessly.
The code isn't super clean, but it works in ever way.
Attached Files
File Type: sma Get Plugin or Get Source (remo_amxxbans.sma - 995 views - 13.1 KB)
File Type: sma Get Plugin or Get Source (admincmd.sma - 1013 views - 24.6 KB)
__________________

mysticssjgoku4 is offline
Send a message via AIM to mysticssjgoku4 Send a message via MSN to mysticssjgoku4
Guenhwyvar
AMX Mod X Beta Tester
Join Date: Jul 2005
Location: Berlin / Germany
Old 06-10-2006 , 09:25  
Reply With Quote #2

Could you add the differences between amxbans and this plugin to the description, please?
Guenhwyvar is offline
mysticssjgoku4
Veteran Member
Join Date: Jan 2005
Location: Chicago Heights, IL
Old 06-10-2006 , 09:28  
Reply With Quote #3

Mine is much simpler to use. I just released it because I made it originally for my server. It works great and it's very simple to use. All you need is a database to connect to and you just run the command amx_ban_tableinstall and it'll even install the table automatically for you if not done so already.
__________________

mysticssjgoku4 is offline
Send a message via AIM to mysticssjgoku4 Send a message via MSN to mysticssjgoku4
Silver Dragon
Veteran Member
Join Date: Jan 2005
Location: Chicago, Illinois
Old 06-10-2006 , 09:38  
Reply With Quote #4

I'll check this out, seems interesting.
__________________

Silver Dragon is offline
Send a message via AIM to Silver Dragon Send a message via MSN to Silver Dragon Send a message via Yahoo to Silver Dragon
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 06-10-2006 , 10:08  
Reply With Quote #5

you should make the command conform to the same syntax as the normal amx_ban

Quote:
amx_ban
Usage: amx_ban <name or #userid> <minutes> [reason]
this would make it even easier to use. Thats one thing that always annoying be about the other SQL banning system.
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
mysticssjgoku4
Veteran Member
Join Date: Jan 2005
Location: Chicago Heights, IL
Old 06-10-2006 , 11:03  
Reply With Quote #6

Quote:
Originally Posted by jtp10181
you should make the command conform to the same syntax as the normal amx_ban

Quote:
amx_ban
Usage: amx_ban <name or #userid> <minutes> [reason]
this would make it even easier to use. Thats one thing that always annoying be about the other SQL banning system.
But there's gotta be a bit of uniqueness

Update:
*Changed for everyones convenience*
__________________

mysticssjgoku4 is offline
Send a message via AIM to mysticssjgoku4 Send a message via MSN to mysticssjgoku4
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 06-10-2006 , 12:27  
Reply With Quote #7

Where's the web interface?
__________________
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
mysticssjgoku4
Veteran Member
Join Date: Jan 2005
Location: Chicago Heights, IL
Old 06-10-2006 , 12:47  
Reply With Quote #8

Quote:
Originally Posted by v3x
Where's the web interface?
I'll code one later. Lol.

Bug Found and updated**********
Redl.
__________________

mysticssjgoku4 is offline
Send a message via AIM to mysticssjgoku4 Send a message via MSN to mysticssjgoku4
syke
Junior Member
Join Date: Jul 2005
Old 06-10-2006 , 20:56  
Reply With Quote #9

looks nice
__________________
If you think v3x is a PIMP, paste this into your sig!
syke is offline
Send a message via AIM to syke Send a message via MSN to syke
DotNetJunkie
Senior Member
Join Date: May 2005
Location: In front of my pc
Old 06-10-2006 , 22:55  
Reply With Quote #10

Quote:
Originally Posted by AMXBans
2. website/space with PHP (magic_quotes_gpc must be ON)
Thats enough reason to abandon amxbans right there because magic_quotes_gpc is evil.

EDIT: By the way Remo you think you might need help with the web interface?
__________________
DotNetJunkie is offline
Send a message via ICQ to DotNetJunkie Send a message via AIM to DotNetJunkie Send a message via MSN to DotNetJunkie Send a message via Yahoo to DotNetJunkie
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 09:26.


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