API for the BattleNight plugin.