A discord bot for monitoring the status of BattleBit and Battlefield 4 servers.
500K+
This discord bot allows you to display the player count of your Battlefield 4 ,Battlefield Hardline and BattleBit Remastered servers on discord. Furthermore, the bot also displays the current map and changes its status according to the current population (Online, AFK, DND).

The bot may be run within a container, in a venv, or directly on a host.
vim docker-compose.yml
The bot is not daemonized.
You only need the folder src.
(optional) switch to a venv
Install dependencies
cd src
pip3 install --user -r requirements.txt
Edit the configuration or set environment variables (See chapter: Configuration)
Run the bot from the src folder with python3 runBF4StatusBot.py -c PATH_TO_CONFIG_FOLDER
sudo docker-compose down --rmi all
git pull
sudo docker-compose up -d
Default: BF4/BFHL
Set the variable to BBR for BattleBit support.
You also have to set these variables at the moment. The image has a bug atm and therfore, it does not read the default settings.
You can also use configuration files.
Each bot requires its own config.
/usr/src/app/config to your docker
host.default.toml or copy user.toml.example to user.toml.cp src/config/user.toml.example server_1.toml./usr/src/app/config/user.tomlThis project is free software and licensed under the GPLv3.
Content type
Image
Digest
sha256:8cef3bb41…
Size
423.6 MB
Last updated
11 months ago
docker pull hedius/bf4statusbot