View Single Post
Plugin Info:     Modification:          Category:         
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 - 1006 views - 13.1 KB)
File Type: sma Get Plugin or Get Source (admincmd.sma - 1026 views - 24.6 KB)
__________________

mysticssjgoku4 is offline
Send a message via AIM to mysticssjgoku4 Send a message via MSN to mysticssjgoku4