COWMODSКаталог модов

Player stats

Server-side player stat tracking for Fabric servers. Tracks 30+ stat categories per player with admin commands. No client mod required.

6262обновлён 25 сент. 2026 г.
УправлениеТехнологииУтилиты

Описание

Player Stats

Player Stats is a server-side Fabric mod that tracks detailed per-player statistics and stores them in per-player JSON files. It works by polling each player's vanilla statistic map on a configurable interval and recording only what changed since the last poll, which keeps server overhead near zero. The collected data is exposed in game through admin commands with formatted, color-coded output. Nothing needs to be installed on the client; players join with a vanilla client and are tracked automatically.

How it works

  • On every poll interval the mod snapshots each online player's vanilla stats, computes the difference against the previous snapshot, and adds the deltas to that player's persistent profile.
  • Profiles are saved to stats/player_data/<player-uuid>.json in the server folder on a configurable save interval, when a player disconnects, and when the server stops.
  • Tracking starts automatically on server start. No setup is required beyond installing the mod.
  • Every tracker category can be enabled or disabled individually in config/viper_player_stats.json.

Commands

All commands require operator permission level 2. Tab completion is provided for player names, stat types, and limits.

CommandDescription
/stats listLists all tracked stat categories, grouped by section (Mining and Blocks, Combat, Items, Movement, World and Life).
/stats <player>Shows a full stat card for a player, grouped into sections. Only sections that contain data are displayed.
/stats <player> allSame as above; shows every recorded stat for the player.
/stats <player> <stat_type>Shows one stat in detail: a highlighted total plus a top-entries breakdown (for example the most mined blocks or most killed mobs), with a clickable shortcut to the leaderboard.
/stats <player> <stat_type> <timeframe>Same detailed view; accepts a timeframe argument (24h, 7d, 30d, all).
/stats top <stat_type> <limit>Ranked leaderboard for a stat across all tracked players (limit 1-100). The top 3 ranks are highlighted. Clicking a row opens that player's detail view for the stat.
/stats reset <player> <stat_type>Resets one stat category for a player, or use all to wipe the whole profile.

Tracked stats

Stat typeDescription
blocks_brokenBlocks broken, counted per block.
ores_minedOres mined, counted per ore block (tag-aware detection).
items_craftedItems crafted, counted per item.
items_droppedItems dropped, counted per item.
items_picked_upItems picked up, counted per item.
mob_killsEntity kills, counted per entity type.
mob_deathsDeaths caused by entities, counted per entity type.
food_eatenFood items eaten, counted per food item.
deathsTotal deaths, with a breakdown of the top death causes.
damage_dealtDamage dealt to entities.
damage_takenDamage taken from all sources.
distance_walkedDistance walked, shown in meters or kilometers.
distance_flownDistance flown (elytra/creative), shown in meters or kilometers.
distance_swumDistance swum, shown in meters or kilometers.
jumpsJumps performed.
beds_sleptTimes slept in a bed.
trades_madeVillager trades completed.
items_enchantedItems enchanted.
books_writtenBooks signed.
potions_brewedPotions taken from a brewing stand.
armor_durability_lostArmor durability damage, tracked per armor slot.
teleports_usedTeleports used (chorus fruit, ender pearls, commands).
buckets_emptied_filledBuckets filled and emptied, counted per bucket type.
jukebox_playsMusic discs played in a jukebox.
crops_harvestedFully grown crops harvested.
doors_gates_openedDoors and fence gates opened.
explosions_causedExplosions caused (TNT usage).
projectiles_firedProjectiles fired (bows, crossbows, tridents), with hit accuracy.
projectiles_hitProjectiles that hit a target.
fishingFishing results, split into fish caught and junk caught.
dimension_timeTime spent in each dimension.
time_playedTotal play time.
time_since_deathTime since the last death (shown after the first death).

Configuration

All settings live in config/viper_player_stats.json and are created with defaults on first start. Boolean flags toggle individual trackers; intervals are in server ticks (20 ticks = 1 second).

OptionTypeDefaultDescription
enabledbooleantrueMaster switch for all tracking.
saveIntervalTicksnumber1200How often player profiles are written to disk (default every 60 seconds).
pollIntervalTicksnumber600How often vanilla stats are polled for changes (default every 30 seconds).
trackBlocksBrokenbooleantrueTrack blocks broken.
trackOresMinedbooleantrueTrack ores mined.
trackCropsbooleantrueTrack crops harvested.
trackDoorsGatesbooleantrueTrack doors and gates opened.
trackItemsCraftedbooleantrueTrack items crafted.
trackItemsDroppedbooleantrueTrack items dropped.
trackItemsPickedUpbooleantrueTrack items picked up.
trackFoodEatenbooleantrueTrack food eaten.
trackBucketsbooleantrueTrack buckets filled and emptied.
trackEnchantingbooleantrueTrack items enchanted.
trackBooksbooleantrueTrack books written.
trackJukeboxbooleantrueTrack jukebox plays.
trackMobKillsbooleantrueTrack entity kills.
trackMobDeathsbooleantrueTrack deaths caused by entities.
trackDamagebooleantrueTrack damage dealt and taken.
trackProjectilesbooleantrueTrack projectiles fired and hits.
trackExplosionsbooleantrueTrack explosions caused.
trackArmorDurabilitybooleantrueTrack armor durability loss.
trackDistancebooleantrueTrack distance walked, flown and swum.
trackBedsSleptbooleantrueTrack beds slept in.
trackTradesbooleantrueTrack villager trades.
trackBrewingbooleantrueTrack potions brewed.
trackFishingbooleantrueTrack fishing catches.
trackDimensionTimebooleantrueTrack time spent per dimension.
trackTeleportsbooleantrueTrack teleports used.

Data storage

  • Player profiles: stats/player_data/<player-uuid>.json (pretty-printed JSON, includes the player name for readability).
  • Profiles load when a player joins and save on the save interval, on disconnect, and on server stop.
  • To wipe a player's data, use /stats reset <player> all or delete the player's JSON file while the server is stopped.

Installation

  1. Install Fabric Loader for your Minecraft version (0.15.11 or newer for 1.21.x, 0.18.4 or newer for 26.1.x, the latest loader for 26.2.x and 26.3.x).
  2. Download the matching Fabric API version and place it in the server mods folder.
  3. Download the Player Stats file for your Minecraft version and place it in the server mods folder.
  4. Start the server. Tracking starts automatically.

No client-side installation is needed. Requires Java 21 for the 1.21.x file and Java 25 for the 26.x files.

Supported versions

FileMinecraftLoaderJava
1.21.x build1.21 - 1.21.11Fabric21+
26.1.x build26.1 - 26.1.2Fabric25+
26.2 build26.2Fabric25+
26.3 build26.3Fabric25+

Галерея

Example stats for player "Test" 👾

Последние версии

Все версии →
release

Player stats 1.1.0

1.1.0
25 сент. 2026 г.241Minecraft: 26.3fabric
Скачать
Что нового
- Added support for Minecraft 26.3 - Redesigned /stats command output: color-coded stat cards, grouped sections, top-5 breakdowns, leaderboards with medal ranks, clickable rows - Fixed permission check on 1.21 so the mod loads across the full 1.21-1.21.11 range - Time Since Death is now only shown after the first death
release

Player stats 1.1.0

1.1.0
25 сент. 2026 г.42Minecraft: 26.2fabric
Скачать
Что нового
- Added support for Minecraft 26.3 - Redesigned /stats command output: color-coded stat cards, grouped sections, top-5 breakdowns, leaderboards with medal ranks, clickable rows - Fixed permission check on 1.21 so the mod loads across the full 1.21-1.21.11 range - Time Since Death is now only shown after the first death
release

Player stats 1.1.0

1.1.0
25 сент. 2026 г.19Minecraft: 26.1, 26.1.1, 26.1.2fabric
Скачать
Что нового
- Added support for Minecraft 26.3 - Redesigned /stats command output: color-coded stat cards, grouped sections, top-5 breakdowns, leaderboards with medal ranks, clickable rows - Fixed permission check on 1.21 so the mod loads across the full 1.21-1.21.11 range - Time Since Death is now only shown after the first death
release

Player stats 1.1.0

1.1.0
25 сент. 2026 г.54Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11fabric
Скачать
Что нового
- Added support for Minecraft 26.3 - Redesigned /stats command output: color-coded stat cards, grouped sections, top-5 breakdowns, leaderboards with medal ranks, clickable rows - Fixed permission check on 1.21 so the mod loads across the full 1.21-1.21.11 range - Time Since Death is now only shown after the first death
release

Player stats 1.0.0

1.0.0
18 июл. 2026 г.100Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11fabric
Скачать
release

Player stats 1.0.0

1.0.0
18 июл. 2026 г.34Minecraft: 26.1, 26.1.1, 26.1.2fabric
Скачать
release

Player stats 1.0.0

1.0.0
18 июл. 2026 г.136Minecraft: 26.2fabric
Скачать