Blacklister App - Community Global Ban

maca134

Well-Known Member
Based on Hambeast's DayzWhitelisterPro https://github.com/deadfred666/DayzWhitelisterPro

We run a few servers and found it a pain to ban people from all our servers at once, so I adapted Hambeast's DayzWhitelister Pro to work as a blacklist.

Instead of using a database directly, I have set it up too talk to a URL. This allows you to use a single file, mysql, etc...

I added an IP check as well as the existing GUID check.

Also included are a couple of example PHP bans files for the Blacklist to talk to and a simple admin panel for the bans list. There is also a very simple bans.php which looks at a file instead of a database (Admin will not work with this).

To configure the blacklist, just look in Config.xml. You have to enter your RCON setting, URL to the bans file and the kick message.

NOTE: This does NOT have to run on the same server as the game server!

The only important thing in the ban list URL is the '{0}' bit. This is were the GUID/IP is place in the URL.

Eg.
http://www.myepochservers.com/ban.php?guid={0}
becomes (guid)
http://www.myepochservers.com/ban.php?guid=123456789abcdefg
or (ip)
http://www.myepochservers.com/ban.php?guid=123.123.123.123


Pre-Requisites:
* Microsoft Windows NT (2k,XP,7,Server)
* Microsoft .Net Framework 4.0
* Web Server
* (optional) PHP 5
* (optional) Microsoft Visual Studio 2010 + (express edition ok)

So if you want to make your own bans list, the URL need to return a "1" to kick.

To install, extract the Blacklister and run it. Also the app will exit if it can not connect to a server or the server shutdowns.
If you want to use the included bans.php, you need to upload them to a webserver with PHP and MySQL (for the mysql based bans list).

Files
-----
Source - Original Source Folder
Blacklist \ BattleNET.dll - Needed
Blacklist \ config.xml - Blacklister Config
Blacklist \ Blacklister.exe - Main executable

PHP \ bans_mysql.php - Mysql based bans list for blacklister
PHP \ bans.sql - Mysql bans table
PHP \ bans_admin.php - Ban list admin panel - This will need securing somehow
PHP \ bans_file.php - File based bans list for blacklister
PHP \ bans.txt - Ban list for file based (Linux EOL!)

maca134
Skype: maca134
Teamspeak: ts.customcombatgaming.com

https://dl.dropboxusercontent.com/u/135243/dayz_epoch/DayzBlacklisterWeb.zip
 
Back
Top