public
Description: Big Brother Bot B3 is a complete and total server administration package for online games. B3 is designed primarily to keep your server free from the derelicts of online gaming, but offers more, much more.
Home | Edit | New

Installation

Big Brother Bot

Requirements

  1. Python 2.3+ – www.python.org
  2. MySQL-python (Tested with 1.0 and 1.2.2) – http://sourceforge.net/projects/mysql-python/files/
  3. MySQL (Tested with MySQL 5) – www.mysql.com
  4. Python Elementtree package – http://effbot.org/downloads/#elementtree
  5. setuptools – http://peak.telecommunity.com/dist/ez_setup.py (download and run)

License

BigBrotherBot(B3)
Copyright © 2005 Michael “ThorN” Thornton

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Assumptions

I assume you know how to use python and MySQL. If not you should consult the
documentation for these if you have problems or questions on how to administer
each.

Installation

You have three choices of installation for b3. You can use the easy to install packages, the Python Egg, or the source distribution, where the egg is an older version of B3. The source install, or the install packages are recommended, since they contains many important features and updates.

Installing the Dependencies

See Installation – Dependencies for the installation of B3’s dependencies.

Installing Packages

See Installation – Packages for the installation of B3 from easy to use packages.

Installing Python Egg

  1. Download and run the setup tools installer if you haven’t already.
  2. Run: easy_install -U b3

It should be that simple. B3 and all its dependencies should be installed. You
can skip to Running as a Python Egg

Installing Source Distribution

  1. Download the latest source distribution from Github at
  2. Extract the package to a suitable location, example: /usr/local/games/b3

Setting up MySQL

  1. Create a database in MySQL for B3 to use. Create a user that has full permissions on this database for B3.
    Note: You could also do this by running the script b3/docs/b3-db.sql on MySQL,but don’t forget to edit the password in that file first.
  2. Run the B3 database SQL script (b3/docs/b3.sql) on your B3 database.

Do do so, either use

  1. phpmyadmin if you have it installed
  2. MySQL Gui Tools
  3. or, if you have a Linux system, run the following commands :
    mysql -u root -p <mysql password> < b3-db.sql
    mysql -u root -p <mysql password> < b3.sql

Configuring B3

See Manual – Configuration for configuration information for B3.

Configuring your game

See Manual – GameConfiguration for configuring your game.

Running B3

Running as a Python Egg

  1. Run b3_run specifying your config file: b3_run -c /home/b3/conf/b3.xml

Running as a Source Install

  1. Change to the install directory: cd /usr/local/games/b3
  2. Run b3_run.py specifying your config file: python ./b3_run.py -c /home/b3/conf/b3.xml

Note: For more options you can run: b3_run --help

Checking Status

Check the b3.log: tail -n100 -f b3.log

Setup Users

If you have the Python Egg installation:

  1. Change iamgod to 0 in the b3/conf/plugin_admin.xml
  2. Connect to the server and type !iamgod. This will register you as the server
    owner.
  3. Change iamgod back to “none” after you are registered.

If you have the Source installation:

  1. Connect to the server and type !iamgod. This will register you as the server owner.
Last edited by courgette, Mon Jul 20 12:17:31 -0700 2009
Home | Edit | New
Versions: