Configuring B3
- Create a directory to store your b3 log files and config files, example: /home/b3/conf
- Copy the config files from /install/path/b3/conf to /home/b3/conf. You only need to copy the file that you are going to modify here.
- Modify b3.xml
vi b3.xml
See Plugins for configuration options for plugins.
b3
b3.database
b3.database::
The connection settings for your database in the following format: <scheme>://<username>:<password>@<host>/<database>
<set name="database">mysql://b3:password@localhost/b3</set>
b3.logfile
logfile::
The location you want to store the log created by B3.
<set name="logfile">/home/b3/b3.log</set>
b3.log_level
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.
- 8 - Extra verbose debugging
- 9 - Verbose debugging
- 10 - Debugging
- 20 - Extra information
- 21 - B3 log messages
- 22 - Game log messages
- 30 - Warnings
- 40 - Errors
- 50 - Critical errors
Note: Leave log_level at 9 for debugging, If there is a bug found we will need your b3.log.
b3.parser
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.
- q3a - Quake 3 Arena
- cod - Call of Duty and Call of Duty : UO
- cod2 - Call of Duty 2
- cod4 - Call of Duty 4
- iourt41 - io Urban Terror
- wop - World of Padman
<set name="parser">cod</set>
server
server.game_log
server.game_log::
The location of your game's log file.
<set name="game_log">/usr/games/cod/uo/games_mp.log</set>
server.rcon_password
server.rcon_password::
The rcon password for your game server.
<set name="rcon_password">password</set>
server.rcon_ip
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
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
server.port::
The rcon port for your game server.
<set name="port">28960</set>
server.punkbuster
server.punkbuster::
Whether your want to use the Punkbuster? plugin to manage kicks, bans, and user identification.
Recommended: on
<set name="punkbuster">on</set>
