Bans.TXT format?
Posted: Sun May 04, 2014 10:12 am
So, I am attempting to make a PHP ban checker that allows admins to enter part of a name and retrieve a number of banned usernames and IP addresses.
I already have most of the script down, such as retrieval of names and ip addresses, JSON parsing, etc etc.But I am confused about the 4th item in the ban array items in bans.txt.
Is it a timestamp? Ban duration?
If it is duration, it's very imprecise. These two are votekick bans, and while the ban duration on votekicks is always 30 minutes flat, this shows some deviation for no reason --
I don't get it
I already have most of the script down, such as retrieval of names and ip addresses, JSON parsing, etc etc.But I am confused about the 4th item in the ban array items in bans.txt.
Is it a timestamp? Ban duration?
Code: Select all
It seems to be "null" when it is a permaban.["CAMILLY_SANTOS", "---.--.--.--", ": Aimbot | 11/8/13 | Muffin", null],If it is duration, it's very imprecise. These two are votekick bans, and while the ban duration on votekicks is always 30 minutes flat, this shows some deviation for no reason --
Code: Select all
So, basically..["[zFake]lFake", "--.--.--.---", ": he has hack belive me", 1379709630.893699]
["MysticBudder", "---.--.--.--", ": griefer", 1382047617.845142]
I don't get it