Skip to content

Kiiyya/BattleFox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ad76a2b Â· Feb 7, 2023
Dec 6, 2022
Feb 15, 2021
Feb 7, 2023
Feb 7, 2023
Nov 22, 2022
Dec 6, 2022
Jun 19, 2022
Sep 15, 2022
Sep 17, 2021
Sep 22, 2021
Feb 7, 2023
Jul 30, 2022
Feb 10, 2021
Jun 19, 2022
Sep 17, 2021

Repository files navigation

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