UBan v1.0 (06/02/07)
By Megiddo (Team Ulysses)

Installation:
Extract the uban folder to garrysmod/addons
YOU ABSOLUTELY MUST HAVE THE GM_MYSQL MODULE (http://forums.facepunchstudios.com/showthread.php?t=241247)

Unless you plan on using the lua functions directly, you must also have ULX.

You'll also need to set up the database. The MySQL code to do this is inside the uban.lua file, or you can get it from the thread. You'll need to use this code in your MySQL client of choice while connected to your database (SSH, PHPMyAdmin, etc)

Last, change the config at the top of uban.lua to your DB details.

Usage:
ulx gban <user> <time> <comment> -- Ban a user by name in the server. Time is in minutes, use 0 for perma.
ie: ulx gban Megiddo 0 "Dirty spammer"

ulx gbanid <steamid> <time> <comment>
ulx gunbanid <steamid>

FAQs:
Q: Why are the bans only for 3 minutes according to echoes in the console or listid?
A: Just part of how it works. This is not a bug.

Q: Can I get access to _your_ database?
A: No. Maybe read-only access down the road.

Q: How do I set up MySQL?
A: Get someone who can help you.

Q: Can you help me set up MySQL?
A: No.