A Procon replacement which aims to be not shit (tm). Pew pew.
Crates overview:
battlefoxbuilds uponbattlefield_rconand provides map vote and a bunch of other plugins. This crate connects directly to the BF4 server via RCON.battlefox_sharedandbattlefox_databaseare data model stuff, these contain code to access the event passing (AMQ) and database stuff.battlefox_discordis a Discord bot.battlefield_rconis 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.battlelogHelps access the BattleLog Web API.
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