
Battlefield Gaming Tracker – Automated Reporting of Battlefield Series Game Stats
Advanced data orchestration and Discord integration that automatically detects the end of a gaming session and delivers detailed statistics directly to your Discord server.
End-to-end prototype data pipeline: from data acquisition through Machine Learning to seamless delivery, expanding on the project
Problem:
Players want to track progress and analyze gameplay, but manually checking stats is time-consuming and disrupts the flow of the game.
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 – an embed with key metrics and a link to the full dashboard.
- AI-powered recommendations – personalized tips to improve accuracy, strategy, and weapon choice.
- Comparisons and analytics – benchmark your stats against other players and analyze trends.
Architecture and Data Flow
- Data collection from the game API – session stats are streamed into a MySQL database in real time.
- Machine Learning – algorithms analyze patterns, predict trends, and calculate metrics (TTK, efficiency).
- OpenAI (LLM) – a dynamic prompt generates recommendations and comparative analyses based on processed data.
- Discord integration – results delivered in the most convenient format for the player (embed + link to dashboard).
- Analytics layer – supervises data validation, feature selection, and prompt quality control.
Technologies Used
- Automation: Python, VBA, Power Query
- Database: MySQL
- API Integrations (including): Steam, PlayStation Network, Xbox Live, Discord, Microsoft Graph, Game Tools Network, OpenAI API
- Machine Learning: Facebook Prophet, XGBoost
- Visualization and Analysis: Microsoft Excel
- Notifications: Discord (automated notification system)
GAME SESSION SUMMARY
A single notification that shows the real impact of a session on the player’s profile.
After each 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 stats — it highlights key metric gains and their current totals, clearly showing how the session influenced the player’s long-term performance.
Data is logically grouped by gameplay context (combat, accuracy, team cooperation, vehicles, distance), enabling not only a quick overview but also an initial quality analysis of the session: identifying strengths and weaknesses in playstyle, changes in efficiency, and unusual deviations from previous patterns.
Even at the level of a single notification, the user can compare session intensity with previous games, assess relationships between metrics (e.g., accuracy vs. number of eliminations, team support vs. survival time), and draw actionable conclusions for further gameplay optimization.
For users who want to go further, the same data is also available in an advanced analytics 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 retrieved from servers via API, processed and aggregated in a central system, and then sent to the reporting module. This ensures every notified user receives up-to-date and consistent data, while the system simultaneously prepares it for deeper analysis and visualization in Excel or other analytical tools.
CURRENT GAME SUMMARY
The automatic session summary is more than just a message — it’s a complete report available in one place.
The system collects and processes data in real time, providing instant access to detailed analytics.
After each session, players automatically receive a comprehensive summary of their gameplay.
The Discord embed delivers an instant overview of key metrics, while each user also has access to an advanced Excel application that retrieves data via API and creates visualizations on highly complex datasets — from detailed performance charts to multidimensional efficiency analyses.
The Discord notification is more than just information – it’s immediate access to critical data without the need to open additional tools. This allows you to quickly review results, share them with your team, and make decisions in real time. And when deeper analysis is required, the full Excel dashboard offers detailed charts, heatmaps, and multidimensional reports that help optimize strategy and improve performance
Using OpenAI for Player Stats Analysis
Dynamic Prompt
An Excel application containing, among other things, a detailed set of weapon parameters in the game — such as type, damage, rate of fire, accuracy, recoil, effective range, and playstyle.
These data points, along with additional metrics, are imported into a MySQL database and used as part of a dynamic prompt for the GPT system, which generates personalized recommendations for players and comparative analyses of weapon effectiveness.
How AI Coach Works
In this project, OpenAI acts as a virtual coach that uses in-game data and knowledge of Battlefield mechanics to generate personalized recommendations for the player. The system doesn’t just display stats — it interprets them, analyzes trends, and suggests how to improve performance.
- Identifies gameplay patterns (e.g., accuracy, preferred engagement ranges, map performance)
- Personalizes recommendations (e.g., weapon choice, attachment configuration, strategy)
- Monitors progress — compares results over time and adjusts guidance
What It Delivers to the Player
- Personalized weapon and strategy recommendations
- Comparative analysis of weapon effectiveness based on playstyle and map conditions
- Training tips generated by AI
- Instant access to results on Discord
In summary, this is not just a bot – it’s an autonomous system that:
- Collects large volumes of data from the game API and its own database.
Processes and analyzes them using Machine Learning algorithms. - Builds a dynamic prompt for OpenAI, which generates recommendations in natural language.
- Delivers a ready-to-use message in the most convenient format – an embed on Discord, immediately after the session ends.
Thanks to this, the user receives full analysis and real-time coaching without any manual work.
BATTLEFIELD 6 GAME STATISTICS SYSTEM ON DISCORD
The system allows downloading additional reports directly from your phone, such as detailed historical analyses, comparisons with other players, or AI recommendations.
This ensures instant and convenient access to data, regardless of
CURRENT PLAYER STATISTICS
The system provides instant access to the latest achievements in Battlefield 5, Battlefield 2042, and Battlefield 6. Users select a player and a specific title using interactive dropdown menus directly in Discord, and the application displays a comprehensive set of metrics in an aesthetically formatted embed.
Key advantages:
- No need to log in to external services
- Instant access to up-to-date data
- Clear presentation in dedicated embed fields
- Integration with the app’s own database
This feature eliminates the need to switch between apps or websites— all key statistics are available with a single click, right where team communication
STATISTICS COMPARISON – BENCHMARK
The comparison module allows you to match 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:
- Select two players via an interactive dropdown menu
- Choose a specific Battlefield title
- Automatic comparison of core stats (kills, deaths, playtime)
- Analysis of efficiency indicators (headshot percentage, kills per minute)
- Results visualization using emojis
Automatic calculations include:
- Derived stats (e.g., assists per match)
- Efficiency indicators
- Analytical performance metrics
- Percentage-based skill comparisons
This tool transforms raw numbers into actionable insights—showing who dominates in specific aspects of gameplay and where there’s room for improvement.





