Death Counter
Death Counter is a server-side Minecraft mod for the Fabric platform that tracks player death statistics. Unlike other similar mods, it uses data directly from in-game statistics, allowing it to provide accurate death counts, including those that occurred before the mod was installed.
Key Features
The mod operates on a "plug and play" principle - no additional configuration is required. It automatically collects death data for all players on the server.
Web Interface for Streamers
A distinctive feature of the mod is the client-side web interface, which is particularly useful for streamers. It allows displaying death statistics in real-time during broadcasts.
Client Commands
/dcc- shows your death count/dcc warning <boolean>- enables/disables warning when mod is unavailable on server/dcc webuinotify <boolean>- controls web client address notification/dcc title <boolean>- enables/disables title message display/dcc delayInTicks <integer>- changes title message display delay/dcc chat <boolean>- enables/disables chat message
Server Commands
/dcs top- shows top players by death count/dcs <page>- displays death statistics for all players/dcs [<playerName>]- shows death count for specific player
Client Configuration
{
"titleMessage": {
"disable": false,
"delayInTicks": 60
},
"chatMessage": {
"disable": false
},
// Warning when mod is unavailable on server
"showWarning": true,
// Web client notification
"showToastNotification": {
"disable": false,
"delay": 5000
},
"webSetup": {
// Local web interface address
"localAddress": "0.0.0.0",
// Local web interface port (1024-49151)
"servicePort": 1540,
// Web interface refresh time in milliseconds
"refreshDelayMs": 5000
}
}
Technical Features
The mod is developed using Fabric API, Fabric Language Kotlin, Ducky Updater Lib, and fStats. It's fully compatible with existing game statistics and doesn't require data reset.