Every repository with this icon (
Every repository with this icon (
Installation
Big Brother Bot
- Official website (http://www.bigbrotherbot.com)
- Forums (www.bigbrotherbot.com/forums)
- Old Documentation (www.bigbrotherbot.com/b3.html)
Requirements
- Python 2.3+ – www.python.org
- MySQL-python (Tested with 1.0 and 1.2.2) – http://sourceforge.net/projects/mysql-python/files/
- MySQL (Tested with MySQL 5) – www.mysql.com
- Python Elementtree package – http://effbot.org/downloads/#elementtree
- 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
- Download and run the setup tools installer if you haven’t already.
- 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
- Download the latest source distribution from Github at
- http://github.com/BigBrotherBot/big-brother-bot/tree/master for the current stable branche
- http://github.com/xlr8or/big-brother-bot/tree/master for the development branche
- Extract the package to a suitable location, example: /usr/local/games/b3
Setting up MySQL
- 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. - Run the B3 database SQL script (b3/docs/b3.sql) on your B3 database.
Do do so, either use
- phpmyadmin if you have it installed
- MySQL Gui Tools
- 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
- Run b3_run specifying your config file:
b3_run -c /home/b3/conf/b3.xml
Running as a Source Install
- Change to the install directory:
cd /usr/local/games/b3 - 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:
- Change iamgod to 0 in the b3/conf/plugin_admin.xml
- Connect to the server and type !iamgod. This will register you as the server
owner. - Change iamgod back to “none” after you are registered.
If you have the Source installation:
- Connect to the server and type !iamgod. This will register you as the server owner.






