BZList is returning

External websites, for and about BZFlag
Post Reply
User avatar
The Noah
Private First Class
Private First Class
Posts: 60
Joined: Mon Jul 11, 2016 9:38 pm
Location: GitHub
Contact:

BZList is returning

Post by The Noah » Wed May 01, 2019 10:03 pm

Hello everyone,

A while ago I made a service providing information about servers and players and called it BZList, however it was poorly made. Later I completely remade it (twice) with major improvements. I'm officially releasing it in a tomorrow. The client is open-source and can be accessed at https://bzlist.net and the code is on GitHub at https://github.com/bzlist/. The site is mobile friendly and also works offline (although data won't be updated). I am also currently making a plug-in which will provide live information to the database which is automatically synced to clients.

How servers are queried and what is stored
Every 10 minutes a script is run (using a cron job) which gets the official server list from https://my.bzflag.org/db/ and checks each server and if there are any players online it will query it. Otherwise it will just save the data from the server list. If there is no stored data for the server then even if there are no players online it will be queried.

All saved data is publicly accessible via Firebase (it might take some Googling and looking through the source code). Here is the general outline:

Code: Select all

address, IP, owner, country, protocol, title, teams, players, configuration
BZList is still in beta with heavy active development. I plan to keep it alive as long as BZFlag is.

I'm announcing it early so any server owners who wish to not have their servers queried can contact me. Just send me a PM. The data is only updated every once in a while manually until it's released tomorrow (2019-5-2) sometime in the morning or afternoon (US) then it will be set to automatically update.

User avatar
The Noah
Private First Class
Private First Class
Posts: 60
Joined: Mon Jul 11, 2016 9:38 pm
Location: GitHub
Contact:

Re: BZList is returning

Post by The Noah » Thu May 02, 2019 7:14 pm

BZList is now officially released and the cron job to is running every 10 minutes.

User avatar
tainn
Private First Class
Private First Class
Posts: 166
Joined: Sun Nov 18, 2018 7:25 pm
Location: zone of the phantoms

Re: BZList is returning

Post by tainn » Fri May 10, 2019 3:32 pm

Something I wanted these list and log sites to do for a while now, was keep a log of callsigns that played on certain maps, at least for the last 48 hours or so.

Strayer's has something very close to it, showing activity per team in the last 24 hours on a graph, but doesn't log the callsigns, at least as far as I know. The only shown callsigns are of currently active players.

Display of such data would be possible from the data at-hand already, one just has to do it.

User avatar
The Noah
Private First Class
Private First Class
Posts: 60
Joined: Mon Jul 11, 2016 9:38 pm
Location: GitHub
Contact:

Re: BZList is returning

Post by The Noah » Fri May 10, 2019 8:42 pm

I'm planning on adding that feature, but thanks for your feedback!

Post Reply