Access Files and Downloadable Textures
Posted: Fri Feb 18, 2005 9:24 pm
In the upcoming bzflag release (2.0.2), there will be two files
that control server and download access. There two files should
be placed in your config directory.
Linux/Unix:
~/.bzf/
Windows:
C:\My Documentss\My BZFlag Files\
or
C:\My Documents and Settings\<username>\My Documents\My BZFlag Files\
MacOSX:
~/Library/Application Support/BZFlag/
The DownloadAccess.txt controls the servers from which you
may download files (currently only textures, but potentially sounds,
3D models, shaders, etc...) It will be generated if it doesn't exist, and
will initially limit you to the bzflag.org and bzflag.bz domains.
Please edit the file if you wish to have unlimited access. It contains
the documentation for its format, and easy instructions to make the
access unlimited.
The ServerAccess.txt file controls the game servers that the
client can connect to. If you wish to use this feature, then you'l have
to create the file yourself. It is in the same format as the download
access file. If the file doesn't exist, then the client can connect to
all the servers.
P.S. If you do wish to enforce limited access, then making the files
immutable with 'chattr +i' is the way to go on *nix systems. I don't
know what the equivalent mechanism is in windows.
An example with downloaded textures:
http://trepan.bzflag.bz/texdl.jpg
(and yes, the globe spins)
that control server and download access. There two files should
be placed in your config directory.
Linux/Unix:
~/.bzf/
Windows:
C:\My Documentss\My BZFlag Files\
or
C:\My Documents and Settings\<username>\My Documents\My BZFlag Files\
MacOSX:
~/Library/Application Support/BZFlag/
The DownloadAccess.txt controls the servers from which you
may download files (currently only textures, but potentially sounds,
3D models, shaders, etc...) It will be generated if it doesn't exist, and
will initially limit you to the bzflag.org and bzflag.bz domains.
Please edit the file if you wish to have unlimited access. It contains
the documentation for its format, and easy instructions to make the
access unlimited.
The ServerAccess.txt file controls the game servers that the
client can connect to. If you wish to use this feature, then you'l have
to create the file yourself. It is in the same format as the download
access file. If the file doesn't exist, then the client can connect to
all the servers.
P.S. If you do wish to enforce limited access, then making the files
immutable with 'chattr +i' is the way to go on *nix systems. I don't
know what the equivalent mechanism is in windows.
An example with downloaded textures:
http://trepan.bzflag.bz/texdl.jpg
(and yes, the globe spins)