Whitelister Ver: 3.0

Ketting

New Member
Hey there, thanks for checking this out, i hope u find what you are looking for :).
Whitelister is a program that i found online written by DomiStyle, i believe he also wrote Dart.
I found the source code :rolleyes: and fixed some big bugs and updated it to my needs.
It's a whitelisting tool for: Arma2, but mainly created for the awesome mod: DayZ.
Its purpose is to only let players who are registered in a database, on the server.

So if u are not in the database you will be kicked off right away. (Like a doorman)
Hopefully you will do so with a friendly message, telling theme where to go for more information.


How does it works?
The program a console based program, which means there are no buttons and nice boxes.
Its just a black window containing text, like the command prompt.
The program communicates via Battlleye and this way can tell when a player tries to join.
It reads the players GUID (A unique string created from a Cdkey) and the player name.

If the information is the same as the stored information in the database it will let the player join. If there is no record of the player the program kicks the player.(in the nuts :eek:)

Main changes from the original so far:
  1. It now compares the player name and the guid .
    If a player changes his name, the player will be kicked.
    If a unknown player uses a whitelisted key the players name is connected to the guid so the player will be kicked. (for no cd key servers)
  2. If connection is lost with the Database, it no longer kicks everybody out of the game.
    It now locks the server and after a re-connection it unlocks itself.
  3. Console writing is now minimal, and color coded so easy reading.
  4. Removed unnecessary loops and functions, and fixed some big bugs.
    Way more stable now.
Its also 100% MySql now:
U need to create a database so follow these steps.
If u are using PhpMyAdmin you can combine steps 1, 2, and 3 in one move, using = "create user"
  1. Create a user for the whitelist tool.
    Its not recommended to use the root user.
  2. Create a database for the whitelist tool.
  3. Set privileges for the user on the database, so the program can read it.
  4. Import the whitelist.sql file on the database.
    Or copy the text from the file and run a SQL on the database.
  5. Insert a row manual;
    Future plan: a Php web interface is coming.
    id == 'NULL'
    GUID == '12345678901234567890123456789012'

    Name == 'Name here' (No space in front or after the name!)
  6. Edit the config.txt with the right data.
  7. Run Whitelister.exe
  8. View console.log to view the log :D.
Hope u can use this program, u can download it here
Please consider to make a donation.

Ketting.
 
Last edited:

shinkicker

Administrator
Staff member
Can you get up some installation steps?

Is the whitelist an external txt file or do you populate the DB (looks like the later)? So do you have to manually enter each row?

Please put some instructions up.
 

Ketting

New Member
Can you get up some installation steps?

Is the whitelist an external txt file or do you populate the DB (looks like the later)? So do you have to manually enter each row?

Please put some instructions up.
Its self explanatory, the original whitelister don't have one 2, but if u insist i will make a txt.
 

shinkicker

Administrator
Staff member
Its self explanatory, the original whitelister don't have one 2, but if u insist i will make a txt.
I am not insisting you make anything, if it does not need a list as text file and that's how its designed, that is fine with me. But I honestly can't see how you make whitelist entries?

I remember before there being a whitelist.txt, should we use the DB instead and make a manual insert? Or is there some process to follow to get the data in to the list. Don't mean to come across as critical, I just honestly can't see how that part works? If it is self explanatory I can't see that bit of information :)

Maybe its because I am not fluent with the original.
 

Ketting

New Member
I am not insisting you make anything, if it does not need a list as text file and that's how its designed, that is fine with me. But I honestly can't see how you make whitelist entries?

I remember before there being a whitelist.txt, should we use the DB instead and make a manual insert? Or is there some process to follow to get the data in to the list. Don't mean to come across as critical, I just honestly can't see how that part works? If it is self explanatory I can't see that bit of information :)

Maybe its because I am not fluent with the original.
Its 100% MYSQL:Using phpMyAdmin u can do do step 1,2 and 3 in one time = "create user"
  1. Create a user for the whitelist tool.
  2. Create a database for the whitelist tool.
  3. Set privileges for the user on the database.
  4. Import the whitelist.sql file on the database.
    Or copy the text from the file and run a SQL on the database.
  5. Insert a row manual;
    id == 'NULL'
    GUID == '12345678901234567890123456789012'
    Name == 'Name here' (No space in front or after the name!)
    Future plan: a Php web interface is coming.
  6. Edit theconfig.txt
  7. Run Whitelister.exe
  8. View console.log for log xD.
I have changed the commends in the config file so re-download it please.
Peace.
 
Nice! A whitelist that stops players changing their name.

This is just what my players have asked for. Too many times have players altered their name to try and hide bad behaviour from other players.
 
Ok, how does a player add themselves to the whitelist?

Can't see myself entering guid after guid manually day after day... I'd like some spare time! :)

I have a phpBB forum for my players. Can I use that somehow?
 
If people can add themselves, what would be the sense of having a whitelist?
I've always wondered about this myself. I see people asking all the time, how they can make a web page that automatically adds people to their whitelist and part of me thinks "how the hell do you monitor that?" . The way I do it on my server is I turn off white listing for a few hours a day when I'm online, and I manually add people to the white list myself after I've seen they can be trusted.. Either that or people email me and go through the same process, the whole point of my white list to be sure I can trust the people on it in the first place.

Whitelister pro was perfect for that, so easy to just turn it off and on and add or remove GUID's. Why can't everything in life be that easy :)
 
Pls help

Run Whitelister.exe error

Connecting please wait...
Starting setLoginData...
Starting connectClient...
Could not connect to Battleye. (Is Battleye enabled?)

config.cfg

// INGAME SETTINGS
disableVoN = 1;
vonCodecQuality = 10;
persistent = 1;
timeStampFormat = "short";
BattlEye = 1;

thx
 
Pls help

Run Whitelister.exe error

Connecting please wait...
Starting setLoginData...
Starting connectClient...
Could not connect to Battleye. (Is Battleye enabled?)

config.cfg

// INGAME SETTINGS
disableVoN = 1;
vonCodecQuality = 10;
persistent = 1;
timeStampFormat = "short";
BattlEye = 1;

thx
Set the password in CFGFolder -->Battleye-->BEServer.cfg
and set the same in the Whitelist config.txt
 

UrbanSkaters

Valued Member!
Would be nice to have this working with WhiteLister Pro, so as the senior admin I could use that and my other admins could use this product (due to it's ease of use and transferable config file). Do you think you could allow the user to set the database table in the config? :)
 
Top