/home/b3/conf
See Plugin Configuration for configuration options for plugins.
Below are the main sections of the b3.xml configuration file. A section is a group of settings with a specific name. Ie the section server is a group of settings specific for the gameserver.
A section starts with:
<settings name="sectionname">
A setting in this section looks like:
<set name="settingsname">settingsvalue</set>
And the section ends with:
</settings>
The connection settings for your database in the following format:
<scheme>://<username>:<password>@<host>[:port]/<database>
for example:
<set name="database">mysql://b3:password@localhost/b3</set>
or:
<set name="database">mysql://b3:password@111.222.333.444:3309/b3</set>
logfile : The location you want to store the log created by B3.
<set name="logfile">/home/b3/b3.log</set>
b3.log_level : The amount of logging you want in your [#b3.logfile]. Lower numbers log more information and contain all the messages with higher numbers after it.
b3.parser : The name of the game parser you want to use. The following options are available. If your game is based on the Quake 3 engine and is not listed, you can try using the q3a parser or any of the parsers listed below.
<set name="parser">cod</set>
b3.time_zone: Set your server's timezone so all timebased lookups will show the proper time ⇒ available timezones
An example for usage:
<set name="time_zone">CST</set>
server.game_log : The location of your game's log file.
<set name="game_log">/usr/games/cod/uo/games_mp.log</set>
<set name="game_log">ftp://username:password@serverip/path/to/games_mp.log</set>
server.rcon_password : The rcon password for your game server.
<set name="rcon_password">password</set>
server.rcon_ip : The rcon IP address for your game server. Can be a local IP such as 127.0.0.1.
<set name="rcon_ip">127.0.0.1</set>
server.public_ip : The external facing rcon IP address for your game server. This is the same as the IP you give your users to connect.
<set name="public_ip">255.255.255.255</set>
server.port : The rcon port for your game server.
<set name="port">28960</set>
server.punkbuster : Whether your want to use the [BotManual/Plugins/Punkbuster Punkbuster] plugin to manage kicks, bans, and user identification.
<set name="punkbuster">on</set>
server.encoding : This forces to encode rcon output to the game server. It also forces incoming data from Say, TeamSay and PrivateSay to be decoded. Entering a non-existing or faulty encoding will render B3 useless!
For use with Cyrillic:
<set name="encoding">cp1251</set>
Autodoc generates a user documentation for all B3 commands
autodoc.type: It can be html, htmltable or xml.
<set name="type">html</set>
autodoc.maxlevel: if you want to exclude commands reserved for higher levels. Default is 100.
<set name="type">100</set>
autodoc.destination: Destination where you want to generate documentation.
This can either be a local,
<set name="destination">C:\Users\b3\Desktop\test_doc.htm</set>
<set name="destination">ftp://user:pass@somewhere.com/www/test_doc.htm</set>
(version 1.4.2+)
The next part enables you to alter the rcon status caching. This is normally not needed, but if you're on a q3a based gameserver and want to alter the caching type or expire time of the rcon status cache, this section is what you need to add to b3.xml.
The code below is the default.
<set name="status_cache_type">memory</set>
<set name="status_cache_expire">2</set>
full example:
<settings name="caching"> <set name="status_cache_type">memory</set> <set name="status_cache_expire">2</set> </settings>