bzfls

Section: Games and Demos (6)
 

NAME

bzfls - BZFlag game server-list server  

SYNOPSIS

bzfls  

DESCRIPTION

Bzfls keeps a list of bzfs servers. It's used to help BZFlag clients find available servers on the internet.

It is a script that run under the control of a web server. You have the availability of 3 bzfls script. They provide the same functionality, so use the one the best match your system.

bzfls.pl

A perl script that uses SQLite database. SQLite uses a file to mantain its memory

bzflsMy.php

A php script that uses MySQL database. For this you should run a real Database Server. On the first lines of the script you should change the username, password and database name to match one on your MySQL server.

bzflsLite.php

A php script that uses SQLite database.  

Notes

Public bzfs servers (i.e. those that used the -public option) register themselves with the bzfls server at regular intervals and update their information, such as the number of current players, as it changes. BZFlag clients query the bzfls server to provide the user a list of available servers. Working together these programs provide users an easy way to find games.

Game servers (bzfs) will also unregister themselves when they exit. However, since it's possible for the servers to be unable to unregister themselves, bzfls will drop servers that it hasn't heard from in a certain amount of time.

Both clients and servers use a built-in url to find a bzfls server (see URLs below). This url is maintained by the BZFlag author and is the bzfls server. Only this server is required to provide automatic server finding. You do not need to run your own bzfls under normal circumstances.

If you want a private list of servers then you can run bzfls but you must also get clients and servers to use it. BZFlag uses the -list url option to specify an alternate bzfls server. Bzfs uses -publiclist url. See URLs below for a description of the url format.  

URLs

The BZFlag family understands URLs with the standard syntax.
http://hostname[:port][path]

The URL specified should point to the bzfls script through your web server.

 

SEE ALSO

bzflag(6), bzfs(6)


 

Index

NAME
SYNOPSIS
DESCRIPTION
Notes
URLs
SEE ALSO