Kiiyya / BattleFox

A modern Procon replacement for Battlefield 4.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BattleFox 🦊

A Procon replacement which aims to be not shit (tm). Pew pew.

Crates overview:

  • battlefox builds upon battlefield_rcon and provides map vote and a bunch of other plugins. This crate connects directly to the BF4 server via RCON.
  • battlefox_shared and battlefox_database are data model stuff, these contain code to access the event passing (AMQ) and database stuff.
  • battlefox_discord is a Discord bot.
  • battlefield_rcon is the RCON protocol implementation, it is a separate library crate, so you can use it in your own projects. Simple events listening and command sending, nothing else.
  • battlelog Helps access the BattleLog Web API.

Setting IP/Port/Password

You can do this in two ways. Either setting environment variables directly, or creating a .env file in the working directory (e.g. root of this repo), which will fill in the environment variables for you:

BFOX_RCON_IP=127.0.0.1
BFOX_RCON_PORT=12345
BFOX_RCON_PASSWORD=qw3RTy
DATABASE_URL=mysql://username:password@host/database

About

A modern Procon replacement for Battlefield 4.

License:GNU Affero General Public License v3.0


Languages

Language:Rust 99.7%Language:Dockerfile 0.3%