Implementation of server-side (per world) statistics for legacy versions of Minecraft. https://go.lostluma.net/server-stats
Find a file
Lilly Rose Berner 32255ce415
All checks were successful
build-java / build (push) Successful in 3m12s
Add 1.7 - 1.12 support to Broadcast module
Signed-off-by: Lilly Rose Berner <lilly@lostluma.net>
2025-11-22 17:11:50 +01:00
.forgejo/workflows Update actions/checkout to v6 2025-11-20 22:31:10 +01:00
.idea Add idea project icon 2025-04-09 22:01:05 +02:00
build-logic Disable new mixin remapper for now 2025-10-30 14:00:53 +01:00
gradle Upgrade Gradle to 9.2.1 2025-11-22 13:39:34 +01:00
module Add 1.7 - 1.12 support to Broadcast module 2025-11-22 17:11:50 +01:00
src/main/resources Provide richer information on mod authors 2025-08-15 14:23:04 +02:00
workaround Add workarounds for more Minecraft versions 2025-10-30 15:41:15 +01:00
.editorconfig Update code style to use tabs for Java and kts files 2025-04-02 16:30:20 +02:00
.git-blame-ignore-revs Ignore previous commit in blame by default 2025-04-02 16:33:32 +02:00
.gitattributes Initial commit 2023-07-24 22:24:01 +02:00
.gitignore Convert buildscripts to Kotlin, use convention plugins 2025-03-31 19:17:47 +02:00
build.gradle.kts Add 1.7 - 1.12 support to Broadcast module 2025-11-22 17:11:50 +01:00
gradle.properties Enable Gradle config cache 2025-11-04 11:19:15 +01:00
gradlew Update Gradle to 9.1.0 2025-10-01 16:01:13 +02:00
gradlew.bat Update Gradle to 9.1.0 2025-10-01 16:01:13 +02:00
LICENSE Initial commit 2023-07-24 22:24:01 +02:00
README.md Add missing header 2025-08-20 12:28:59 +02:00
settings.gradle.kts Add 1.7 - 1.12 support to Broadcast module 2025-11-22 17:11:50 +01:00

The mod's icon

Server Stats

Implementation of server-side (per world) statistics for legacy versions of Minecraft.

Features

General

Allows recording player statistics on older versions using the modern statistics system introduced in 1.7.
Without Server Stats statistics are stored client-side, shared between all worlds, and can randomly reset.

Bug Fixes

Server Stats contains bug fixes for most achievement- and statistic-related issues in supported versions.
To find out whether a specific bug is fixed with Server Stats take a look at the bugfix source code directory.

Warning

Server Stats disallows putting items back into the furnace result slot in Beta 1.5 and before.

Warning

Infdev versions from 20100327 to 20100608 do not support custom game directories, causing issues
when using multiple instances. Server Stats sets the game directory to the instance directory on startup.

Data Upgrade

As Server Stats is also intended to be used by players eventually upgrading to Minecraft 1.8 (and beyond!)
it also includes a statistics upgrade system to convert ID-based statistics to resource location based ones.

New Statistics

Server Stats adds some new statistics that do not exist in vanilla Minecraft:

  • Sheep Sheared: Amount of times wool was harvested from sheep
  • Items Picked Up: Tracks the combined amount of items picked up

Information

To see your own statistics you can either install Server Stats on the client as well as the server to sync
them whenever you join a single- or multiplayer world using the mod or update to Minecraft 1.7.x or above.

Tip

To see your own statistics in 11w48a (1.1 Snapshot) and earlier install OSL on both the client and server.

Installation

Server Stats runs on Fabric and Quilt Loader using the Ornithe Toolchain for legacy versions.
To install the mod use the Ornithe installer, then simply drop Server Stats into your mods folder.

You can download the release version of Server Stats from either Modrinth or code.lostluma.net.

Supported Minecraft Versions

Server Stats supports a wide range of Minecraft versions including most snapshots:

  • Infdev 20100327 to 12w17a (Release 1.3 Snapshot)
  • Release 1.3.2 to Release 1.12.2

However, non-mainline versions (such as April Fools) are currently not supported.
The mod may function on these versions without issue, but they have not been validated.

Warning

Collection of some vanilla statistics, such as items crafted, is not supported on Alpha servers.

Mod Support

Server Stats is intended to be usable in conjunction with mods adding their own statistics by default.

Custom Vanilla Stats

All vanilla statistics and achievements added by other mods will be saved and synchronized by the mod,
if they have been properly registered using Stat#register() and are awarded on the dedicated server.

Warning

Due to the Item.onResult method over-counting crafted item amounts in versions 12w24a (1.2 Snapshot)
and before Server Stats removes its function in counting statistics and has implemented it differently
for vanilla crafting interfaces (the inventory, crafting table, and furnace). Mods adding new crafting
methods will instead need to call PlayerEntity.incrementStat with the real amount crafted themselves.

Combat Statistics Screen

Statistics for killing and being killed by mobs added by mods are automatically collected by Server Stats.
However, by default Server Stats will not display a mob face in the mob stats screen for mobs it doesn't know.

You can change this by shipping a texture in this location: assets/server_stats/textures/mob_face/mob_name.png

Using the Server Stats API

Coming soon :3

Incompatible Mods