Source-checkedAdmin & protection

PlayerStatsSync

by SunPheonyx · for Valheim

Sends each player's character stats, plus damage dealt and taken, to your dedicated server as JSON files. Build your own leaderboards and player pages.

44Downloads
4d agoLast updated
BepInExLoaders
ThunderstoreSource

About PlayerStatsSync

From Thunderstore

Sends each player's character stats, plus damage dealt and taken, to your dedicated server as JSON files. Build your own leaderboards and player pages.

Player Stats Sync

Sends each player's character stats to your dedicated server and saves them as JSON files, so you can build leaderboards, player pages or Discord bots around them.

What it does

  • Reads the stats Valheim already tracks for each character: kills, deaths and their causes, trees felled, distance travelled, pieces built, and about 200 more.
  • Adds two stats the game doesn't track: damage dealt and damage taken. These count from when the mod is installed.
  • Sends everything to the server every 60 seconds, and when a player logs out.
  • Saves one file per player on the server.

This mod has no in-game screen. It collects the data, and you decide what to do with it.

Installation

Install it on the server and on each player who wants their stats recorded. Players without the mod can still join, they just won't get a stats file.

Stats files

The server writes one file per player to:

BepInEx/config/PlayerStatsSync/<platform-id>.json

{
  "name": "Ragnar",
  "character": "ragnar",
  "updated": 1793480000,
  "damage_done": 18342.5,
  "damage_taken": 4210.2,
  "stats": {
    "EnemyKills": 412,
    "Deaths": 27,
    "Tree": 311
  }
}
  • stats uses Valheim's own PlayerStatType names, and leaves out anything at zero.
  • updated is a Unix timestamp.
  • File names contain the player's platform ID, so don't publish them as they are.

Good to know

  • Stats count play on your server only. The game doesn't record where a stat was earned, so the server tracks each character's totals in BepInEx/config/PlayerStatsSync.totals. Keep that folder, or characters start again from zero.
  • A character joining for the first time starts from zero. The first minute or so of each session isn't counted, because the player's first update sets the starting point.
  • Damage dealt is the strength of the hit before the enemy's resistances. Damage taken is measured after armour.
  • Stats are sent by each player's game, so they could be faked. It's built for groups of friends, not competitive servers.

Feedback

Found a bug or have an idea? Open an issue on GitHub.

Highlights

From source data

Loaders

Runs on BepInEx.

Footprint

Rated a light load on a server.

Last update

Its author last shipped an update 4d ago.

PlayerStatsSync on Nxeon

From our catalogue
One-click install
Supported on Nxeon Valheim servers, for BepInEx servers. We download it from Thunderstore, place it, and restart the server.
Server side
Optional on the server
Server type needed
BepInEx
Server load
light
Smallest plan we suggest
Valheim — 4 GB (4 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
1.1.2, released 2026-10-31

Game versions by loader

LoaderGame versionsNewest
BepInEx

From 4 recorded builds of PlayerStatsSync.

Recent builds

BuildReleasedGame versionsLoaders
1.1.22026-10-31n/aBepInEx
1.1.12026-10-31n/aBepInEx
1.1.02026-10-31n/aBepInEx
1.0.02026-10-31n/aBepInEx

Dependencies

Declared by the newest build that lists any. Required ones are installed with it on one-click installs.

Run PlayerStatsSync on a Valheim server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Thunderstore as “Admin”

Admin & protection

Permissions, moderation, anti-cheat and land protection for the people running the server.

Works on a server

From source side support

Thunderstore lists server-side support for PlayerStatsSync as optional: it can run on a server, but isn’t required there.

Compatibility

Game
Valheim
Loaders
BepInEx
Runs on
Serveroptional on the server
Requires
One-click install needs a BepInEx server.

Verified at the source

  • ✓ThunderstoreOfficial listing, checked 2026-11-01Open ↗
  • ✓AuthorSunPheonyx, as published on Thunderstore
  • ✓LicenseNot published by the sourceFree

PlayerStatsSync, answered

Generated from the mod’s own source data.

Do my players need to install PlayerStatsSync?

Thunderstore lists server-side support for PlayerStatsSync as optional: it can run on a server, but isn’t required there.

Which loaders does it support?

BepInEx.

Is it free?

Yes. PlayerStatsSync is free to download from Thunderstore.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run PlayerStatsSync on a Valheim server.

Deploy in about a minute from $9.99 a month, then add PlayerStatsSync in one click.