Battlefield Gaming Tracker – Automatic Statistics Reporting
Advanced data orchestration and Discord integration that automatically detects the end of a session and delivers detailed statistics directly to the Discord server.
End-to-end data pipeline prototype: from data acquisition through ML to seamless delivery – an extension of the project described here
Problem:
Players want to track their progress and analyze gameplay, but manually checking statistics is time-consuming and breaks the gaming flow.
Solution:
Full automation – from detecting the end of a session to delivering personalized insights directly on Discord.
For the player:
- Automatic post-session reports – no commands, clicks or screenshots required.
- Instant notifications on Discord – embed with key metrics and a link to the full dashboard.
- AI recommendations – personalized tips on how to improve accuracy, strategy, and weapon choice.
- Comparisons and analysis – statistics compared with other players, trend analysis.
Architecture and data flow
- Data collection from game APIs – session statistics are saved to a MySQL database in real time.
- Machine Learning – algorithms analyze patterns, predict trends, and calculate metrics (TTK, efficiency).
- OpenAI (LLM) – dynamic prompt generates recommendations and comparative analyses based on the data.
- Discord integration – results delivered in the most convenient form for the player (embed + dashboard link).
- Analytical layer – oversight of data validation, feature selection, and prompt quality control.
TECHNOLOGIES USED
- Automation: Python, VBA, Power Query
- Database: MySQL
- API Integrations (incl.): Steam, PlayStation Network, Xbox Live, Discord, Microsoft Graph, Game Tools Network, OpenAI API
- Machine Learning: Facebook Prophet, XGBoost
- Visualization and analysis: MS Excel
- Notifications: Discord (automatic notification system)
GAME SESSION SUMMARY
One notification that shows the real impact of the session on the player’s profile.
After every session, the user automatically receives a structured gameplay summary in the form of a clear Discord notification.
The report goes beyond a simple list of statistics — it presents increases in key metrics and their current total state, clearly showing how the session affected the player’s long-term results.
Data is logically grouped by gameplay context (combat, precision, teamwork, vehicles, distance), enabling not only a quick overview but also preliminary analysis of session quality: identification of strengths and weaknesses in playing style, changes in efficiency, and unusual deviations from previous patterns.
Already at the level of a single notification, the user can compare session intensity with previous games, assess relationships between metrics (e.g. accuracy vs. kills, team support vs. survival time) and consciously draw conclusions about further optimization of their gameplay.
For users who want to go further, the same data is also available in the advanced analytical layer, enabling in-depth trend and behavior analysis over time.
The entire process is based on advanced data orchestration: information from each session is automatically fetched from servers via API, processed and aggregated in the central system, and then sent to the reporting module. Thanks to this, every notified user receives up-to-date and consistent data, while the system simultaneously prepares it for further analysis and visualization in Excel or other analytical tools.
Why does it work?
- Speed – results appear immediately after the session ends, so you can analyze your gameplay and draw conclusions right away.
-
Convenience – everything on Discord, without additional tools, allowing you to focus on team communication and planning the next matches.
-
Advanced analysis – full Excel dashboard when you need more details, giving you the ability to perform deep analysis and strategy optimization.
-
Easy sharing – you can immediately discuss results with your team, strengthening collaboration and communication.
Using OpenAI in Player Statistics Analysis
Dynamic Prompt
The Excel application containing among others: a detailed set of in-game weapon parameters such as type, damage, rate of fire, accuracy, recoil or range, and playing style.
This data is imported along with other data into the MySQL database and used as part of the dynamic prompt for the GPT system, which generates personalized recommendations for players and comparative weapon effectiveness analyses based on it.

How does the AI Coach work?
In this project, OpenAI acts as a virtual coach that generates personalized recommendations for the player based on game data and knowledge of Battlefield mechanics. The system not only shows statistics – it interprets them, analyzes trends, and suggests how to improve results.
- Identifies patterns in playing style (e.g. accuracy, preferred distances, map effectiveness)
- Personalizes recommendations (e.g. weapon choice, attachment configuration, strategy)
- Monitors progress – compares results over time and adjusts tips
What does it give the player?
- Personalized weapon configuration and strategy recommendations
- Comparative analyses of weapon effectiveness in the context of playing style and map conditions
- AI-generated training tips
- Instant access to results on Discord

In summary, this is not just a regular bot – it is an autonomous system that:
- Fetches large amounts of data from APIs and its own database.
Processes and analyzes it using Machine Learning algorithms. - Creates a dynamic prompt for OpenAI, which generates recommendations in natural language.
- Delivers a ready message in the most convenient form – an embed on
- Discord, right after the session ends.
Thanks to this, the user receives a full analysis and coaching in real time, without any manual work.
BATTLEFIELD 6 GAME STATISTICS SYSTEM ON DISCORD
The system allows fetching additional reports directly from the phone, e.g. detailed historical analyses, comparisons with other players or AI recommendations.
This makes data access instant and convenient, regardless of the device.
CURRENT PLAYER STATISTICS
The system enables instant access to the latest achievements in the Battlefield 5, Battlefield 2042 and Battlefield 6 series. Users select a player and a specific title using interactive dropdown menus directly in Discord, and the application presents a comprehensive set of metrics in an aesthetic embed format.
Key advantages:
- No need to log into external services
- Instant access to up-to-date data
- Clear presentation in dedicated embed fields
- Integration with the application’s own database
This functionality eliminates the need to switch between applications or websites – all key statistics are available with one click, directly where team communication takes place.

STATISTICS COMPARISON – BENCHMARK
The comparison module allows comparing the achievements of two players in a selected Battlefield title. The system automatically analyzes both users’ metrics and presents the results in a clear table with visual indicators of advantage.
How it works:
- Selection of two players via interactive dropdown menus
- Selection of a specific Battlefield title
- Automatic comparison of basic statistics (kills, deaths, playtime)
- Analysis of efficiency indicators (headshot percentage, kills per minute)
- Visualization of results using emojis
Automatic calculations include:
- Derived statistics (e.g. assists per match)
- Efficiency indicators
- Performance analytical metrics
- Percentage comparisons of skills
This tool turns raw numbers into concrete conclusions – it shows who dominates in specific aspects of gameplay and where there is potential for development.

Do you need someone who instantly understands the problem — and knows what to do with it?
Most companies have data. What’s missing is the idea of what to do with it — and someone who will actually execute it. Origami Effect provides both.

