Stats plugins for Rust
Stats plugins record per-player data on your Rust server — kills, deaths, time played, resources gathered — and expose it through chat commands, leaderboards, and persistent storage. Admins use them to answer the questions players actually ask: who has the most kills, how many hours has this person played, when was this account last online, and what killed me yesterday. They also give owners evidence when a player disputes a raid or a ban.
8 plugin recipes for Oxide and Carbon
- Death cause statsThis plugin records every player death, classifies the cause from the HitInfo passed to OnPlayerDeath, and stores running totals per player so…OnServerInitializedOnPlayerDeath
- Gather statisticsTracks wood, stone, metal ore, sulfur ore and cloth gathered per player for the current wipe, persists the totals in oxide/data, and shows them with…OnServerInitializedOnDispenserGatheredOnCollectiblePickup
- Last seen commandRecords a timestamp for every player on disconnect and answers /seen <name> with a relative time such as '2 hours ago' or 'online now'.OnServerInitializedOnPlayerConnectedOnPlayerDisconnected
- Longest kill shotTracks each player's longest projectile kill distance and the server-wide record, saved to oxide/data, with a /longest chat command and an…OnServerInitializedOnPlayerDeath
- Player statsA plugin that records kills, deaths, headshots and NPC kills per player in oxide/data, shows them with /stats [player], and optionally wipes the…OnServerInitializedOnNewSaveOnEntityDeath
- Playtime trackerRecords session start time on connect and adds elapsed connected time on disconnect, persisted per player ID in oxide/data, with a /playtime command…OnPlayerConnectedOnPlayerDisconnectedOnPlayerTick
- PvP kill logRecords every PvP kill (killer, victim, weapon, distance, headshot flag, position, timestamp) into a capped data file and lets admins read any…OnServerInitializedOnPlayerDeath
- Top players commandTracks kills, deaths and playtime per player and prints a top 10 leaderboard in chat through /top kills|deaths|playtime.OnServerInitializedOnEntityDeathOnPlayerDisconnected
Need a stats plugin that is not listed?
Describe it in a sentence and get a compiled plugin with config and permissions.
About stats plugins
The mechanics to watch: playtime accumulates every time a player connects, so anything that polls connection state too often costs server ticks — prefer plugins that hook connection and disconnect rather than scanning the player list on a timer. Player stats and gather statistics write to data files, and on a busy server those files grow; a wipe cycle should include clearing or archiving them, and a leaderboard command that reads the whole file on every call will lag under load. PvP kill log and death cause stats need the attacker, weapon, and distance, so they hook into combat where they must return quickly. Last seen should be a permission-gated command — otherwise it's a free way to track offline players. Top players and longest kill shot leaderboards are usually chat commands with a cooldown, so they don't get spammed in global chat.
Plugins on this page are standard Oxide/Carbon C# plugins. They register permissions such as a stats admin group, read display settings from a JSON config (chat prefix, colors, leaderboard length, whether to announce new records), and store accumulated data in oxide/data. Each is drop-in after a reload, no server restart required.
