Bedrock Statistics
A comprehensive statistics tracking addon for Minecraft Bedrock Edition that brings Java Edition-style statistics to your world.
Features
Java Edition Parity
Track statistics just like Java Edition, including:
- Time Played - Total playtime, session time, time since rest
- Deaths - Total deaths, death causes, longest life streak
- Combat - Mob kills, player kills, damage dealt/taken
- Blocks - Blocks mined and placed (with per-block breakdown)
- Items - Items used, picked up, dropped (with per-item breakdown)
- Tools Broken - Track when your tools break
- Distance Traveled - Walking, sprinting, swimming, flying, climbing
- Interactions - Chests opened, workstations used, villagers talked to
Bedrock-Exclusive Statistics
Additional stats unique to this addon:
- Biome Discovery - Track unique biomes visited
- Dimension Time - Time spent in each dimension
- Session Tracking - Total sessions, current session time
- XP Statistics - Total XP collected, highest level reached
- Vehicle Stats - Distance traveled by boat, horse, minecart, pig, strider, and Happy Ghast
- Raid Tracking - Raids triggered and won
- Coordinates - Highest/lowest Y-level, furthest distance from spawn
Admin Panel
Server operators can use /bs:admin to access the admin panel, which provides:
- View Player Stats - Browse any player's full statistics, whether they are online or offline
- Manage Scoreboards - Create, preview, and remove leaderboard scoreboard entities
- Raycast Toggle - Enable or disable the wall visibility feature for leaderboard text
Leaderboard Scoreboards
Spawn floating text entities in your world that display ranked scoreboards for any statistic:
- Choose from 35+ trackable statistics across all categories
- Configure how many top players to display (3-10)
- Scoreboards auto-update every 30 seconds
- Raycast visibility - Leaderboard text automatically hides when behind walls and reappears when you have a clear line of sight
- Manage all scoreboards from the admin panel
- Share scoreboards to Discord via BedrockBridge
Discord Integration
Share your stats to Discord via BedrockBridge! When BedrockBridge is installed, a "Share to Discord" button appears in the statistics menu and in the admin panel for scoreboards.
Installation
- Download the latest release
- Import the
.mcaddonfile into Minecraft - Apply both the behavior pack and resource pack to your world
Usage
Opening Statistics
Use the command to open the statistics menu:
/bs:statistics or just /statistics
Menu Navigation
The main menu provides six categories:
- General - Time played, sessions, XP, deaths
- Combat - Kills, damage, deaths, tools broken
- Building - Blocks mined and placed
- Exploration - Distance, biomes, dimensions
- Survival - Items, food, effects
- Miscellaneous - Interactions, emotes, raids
Admin Panel (Operators Only)
Open the admin panel:
/bs:admin
From the admin panel you can:
View Player Stats
- See a list of all players who have joined the world
- Online players are shown in green, offline players in gray with their last seen time
- Select any player to browse their full statistics across all six categories
Manage Scoreboards
- View all active leaderboard scoreboard entities
- Create a new scoreboard:
- Select a stat category
- Choose a specific statistic
- Set how many top players to show (3-10)
- Preview the scoreboard, then spawn it at your location
- Select an existing scoreboard to view its details, remove it, or share it to Discord
Raycast Toggle
- Toggle the floating text raycast visibility feature on or off
- When enabled, leaderboard text is hidden when there are blocks between you and the scoreboard
- When disabled, leaderboard text is always visible regardless of obstacles
Resetting Statistics
To reset your statistics:
/bs:reset
This only resets YOUR statistics - other players' data is unaffected.
Requirements
- Minecraft Bedrock Edition 1.21.50+
API Versions
@minecraft/server: 2.4.0@minecraft/server-ui: 2.0.0
Statistics Tracked
General
| Statistic | Description |
|---|---|
| Time Played | Total time in ticks |
| Sessions | Number of play sessions |
| Deaths | Total death count |
| Longest Life | Longest time without dying |
| XP Total | Cumulative XP collected |
| Highest Level | Maximum level reached |
Combat
| Statistic | Description |
|---|---|
| Mob Kills | Total mobs killed (by type) |
| Player Kills | PvP kills |
| Damage Dealt | To mobs and players |
| Damage Taken | From all sources |
| Tools Broken | When tools break (by type) |
Building
| Statistic | Description |
|---|---|
| Blocks Mined | Total and by type |
| Blocks Placed | Total and by type |
Exploration
| Statistic | Description |
|---|---|
| Distance Walked | Walking distance |
| Distance Sprinted | Sprinting distance |
| Distance Swum | Swimming distance |
| Distance Flown | Elytra gliding |
| Distance Climbed | Climbing ladders/vines |
| Vehicle Distance | By vehicle type |
| Biomes Discovered | Unique biomes visited |
| Dimension Time | Time in each dimension |
Survival
| Statistic | Description |
|---|---|
| Items Used | Total and by type |
| Items Picked Up | Total and by type |
| Items Dropped | Total and by type |
| Food Eaten | Consumables used |
| Containers Opened | Chests, barrels, etc. |
| Workstations Used | Crafting, furnaces, etc. |
Miscellaneous
| Statistic | Description |
|---|---|
| Effects Received | Potion effects (by type) |
| Emotes Used | Total emotes |
| Raids Triggered | Started by Bad Omen |
| Raids Won | Hero of the Village earned |
| Target Blocks Hit | Total hits on target blocks |
| Bullseyes | Dead center hits (redstone power 15) |
Performance
This addon is designed for efficiency:
- Cached Statistics - Stats are cached in memory and only written to storage periodically
- Dirty Tracking - Only modified categories are saved
- Event-Driven - Most tracking uses events rather than polling
- Optimized Intervals - Polling operations run at reduced frequencies
Credits
Created by Rob 'myGen'
Website: https://mygen.co.uk
License
This addon is provided as-is for personal use in Minecraft worlds.