BZList is returning

External websites, for and about BZFlag
Post Reply
User avatar
The Noah
Private First Class
Private First Class
Posts: 62
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: 62
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: 173
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: 62
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!

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

Re: BZList is returning

Post by The Noah » Thu Nov 07, 2019 3:21 am

With the official release nearing, data is now queried every 5 minutes like Strayers.

User avatar
blast
General
General
Posts: 4746
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: BZList is returning

Post by blast » Thu Nov 07, 2019 11:04 am

I had to refresh the page twice to get the current version of the site. Initially I was still getting the old layout with data that was 187 days old.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

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

Re: BZList is returning

Post by tainn » Thu Nov 07, 2019 11:15 am

Looks quite nice! Just a slight typo I found in the attachments; seems to appear for all servers on the list.
Attachments
seconds.png
seconds.png (4.18 KiB) Viewed 533 times

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

Re: BZList is returning

Post by The Noah » Sat Nov 09, 2019 2:11 am

blast: Yeah that's because of the old service worker.
tainn: Whoops, thanks for the catch!

Post Reply