Player Profile
The Player Profile system stores persistent, lifetime statistics for each player. These stats carry across matches, arenas, and sessions in Zentrix.
What is tracked
Player Profiles track long-term performance. They include totals, averages, and personal records.
Common tracked categories:
Match results
Matches played
Wins
Win rate (derived from results over time)
Combat performance
Kills
Deaths
K/D ratio (derived from kills and deaths)
Damage
Damage dealt
Damage taken
Survival
Total survival time
Longest survival
Average survival time
Streaks
Kill streak (current match)
Highest kill streak (personal best)
Win streak (consecutive wins)
Highest win streak (personal best)
Kill streaks reset each match. Win streaks track consecutive wins. “Highest” values are your all-time records.
Profile access
Players can view lifetime stats in a dedicated Profile GUI.
Server owners can also surface profile stats elsewhere:
Scoreboards and lobby panels can show lifetime metrics.
Menus and other GUIs can reuse the same profile values.
Chat and UI systems can render stats via placeholders.
See also:
Why this system exists
Player Profiles support long-term progression and competition.
Core goals:
Track progression across a player’s entire lifetime on the server.
Encourage competition and self-improvement.
Support rewards, ranks, and perks based on achievement.
Enable leaderboards and easy comparisons between players.
Increase retention by making progress visible and meaningful.
When stats are updated
Profiles follow a simple lifecycle to keep gameplay responsive and stats reliable:
Stats load when a player joins the server.
Match stats are tracked live while playing.
At match end, results merge into lifetime totals.
Personal records update automatically when you beat them.
Saving runs safely without impacting match flow.
If a match ends unexpectedly, Zentrix still aims to keep profiles consistent.
During gameplay (real-time behavior)
While a match is running, profile-relevant actions are collected continuously:
Kills and deaths update combat totals and ratios.
Damage dealt and taken accumulates as fights happen.
Survival time increases as long as you stay alive.
Streaks change dynamically based on eliminations and wins.
Last updated