Ulysses Stuff > Releases
[GitHub] ULX Global Ban (0.5Beta)
bcool:
ULX-Global-Ban
==============
A Global Ban System designed to be used only with ULX & ULib Garry's Mod servers.
This addon literally does not require any editing of ULX / ULib, just place into your addons folder and set up the configuration file!
INFO
==============
Created out of necessity.
Created by NigNog (Bcool) and Adobe Ninja.
FEATURES
==============
Server Identification: When your server starts, it checks to see whether or not the IP:Port configuration is already there. If it's not it'll create it and assign the server an ID. If it is it'll assign the server an existing ID.
Bans: This addon overwrites the exists ULib function to add a ban, and inserts it into the MySQL Database.
Authentication: When the server Auths a player, the point where the SteamID is retrived and the normal ban status is checked, this addon checks the MySQL server to see if the user has been banned.
Information: When a user has been banned, their SteamID, Current Name, Reason, ServerID of the server which they where banned on, Admin(Banner) SteamID and Current admin name are all saved in the MySQL Database.
Each time your server is started, the hostname is automagicly updated in the MySQL database.
PLANED/TODO
==============
Nothing
CHANGELOG
==============
[ADD] Ban removal.
[ADD] Ban Modification.
[ADD] Ban listing in the xgui menus.
[ADD] Ban sync, your bans defaulty sync with the MySQL DB every 30 seconds.
[ADD] Config file with a small amount of configs for extra control.
[ADD] Limited GateKeeper functionality. (Doesn't really work yet)
[FIX] Permanently Banned users could still get through.
[CHG] SQL Table Structure to incorporate all ULX ban details.
INSTALLATION
==============
*Requires MySQLOO
TODO
Feel free to request features / post constructive criticism, or help out with the code!
https://github.com/bcool/ULX-Global-Ban
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License
Megiddo:
Very nice! And I'm a fan of your license choice. :)
bcool:
--- Quote from: Megiddo on December 06, 2012, 05:00:01 AM ---Very nice! And I'm a fan of your license choice. :)
--- End quote ---
Why thank you good sir!
Just updated to 0.5Beta :)
Q4-Bi.:
For the people whom arn't following the project on Github, this project is now on 0.6. Simple fixes were done to the code and he fixed SQL injections.
For my self i decided to create a skin for the bans page, as the default one is, let me say it un professional.
Demo: http://ban-hammer.net/ban/
Download Link: http://www.mediafire.com/?jw9pcxdh76replx
Note: This is source code for the online template and not the addon source.
mikey:
First, the SQL file is setup wrong. ServerIP appears to not have correct type, integer shouldn't be so.
Secondly, Once that is fixed...
...ulx_globalbanmodule/lua/globalban/gb_serverheartbeat.lua:40: attempt to concatenate global 'GB_SERVERID' (a nil value)
I can't seem to fix this.
Database is setup correctly, the addon appears to agree.
[ULX GB] - Database Connection Successful
Any help?
Navigation
[0] Message Index
[#] Next page
Go to full version