Back to mods
Leaderboard project artwork

Modrinth · Minecraft mod

Leaderboard

Create leaderboards for any data

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Leaderboard release should I use?

Updated 3 months ago
Latest stable file 1.1+1.21.8
Game version 1.21.8
Loader Fabric

Leaderboard 1.1+1.21.8 targets 1.21.8 with Fabric. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.

Where it goes

Is Leaderboard required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does Leaderboard 1.1+1.21.8 need?

1.1+1.21.8. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Leaderboard without breaking your instance.

Built for Leaderboard 1.1+1.21.8. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.1+1.21.8. It targets 1.21.8 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.1+1.21.8. It opens that exact file at the source.

About this project

What does Leaderboard add?

Mitra Leaderboards

A flexible and high-performance leaderboard system for Fabric servers. It computes and publishes leaderboards from placeholders (e.g. blocks mined, play time, kills, etc.), with optional MongoDB support to store and display offline players.


✨ Features

  • Multiple leaderboards: define as many holders as you want (e.g. blocks_mined, time_played, kills…).
  • Native placeholders (pb4/Patbox): exposes values for TAB, HUDs, holograms, or any plugin/mod that reads placeholders.
  • Per-holder update scheduling (configurable in seconds).
  • Online or offline mode:
    • Online-only: TOP is computed with currently connected players (no DB).
    • Offline tracking: saves and queries from MongoDB for global TOPs.
  • Asynchronous execution: safe capture on the server thread, heavy work in async workers.
  • Optimized for thousands of players: efficient TOP-K selection, minimal I/O and CPU.
  • Robust placeholder evaluation: cleans values and prevents crashes if a placeholder fails.

✅ Requirements

  • Fabric Loader + Fabric API (server).
  • pb4 Placeholders (Patbox) for placeholder resolution/registration.
  • MongoDB (requerid)

📦 Installation

  1. Download Mitra Leaderboards and its requirements.
  2. Place the .jar files in the mods/ folder of the server (and client if you want HUDs).
  3. Start the server to generate the config folders.
  4. Configure leaderboard.yml (and mongo.yml if you plan to use offline tracking).
  5. Restart.

⚙️ Configuration

leaderboard.yml

holders:
  blocks_mined:
    valueCheck: "%mitra:mined_total%"
    update: 20
    top: 10
    trackOffline: false

  time_played:
    valueCheck: "%mitra:play_time%"
    update: 30
    top: 15
    trackOffline: true

🧩 Placeholders

For a holder named blocks_mined:


📏 Size and timers

  • %mitra:leaderboard blocks_mined_size% → number of entries.
  • %mitra:leaderboard blocks_mined_update_in_s% → seconds until the next update.
  • %mitra:leaderboard blocks_mined_update_in_hms% → remaining time in HH:MM:SS.

🏆 TOP by position (N ≥ 1)

  • %mitra:leaderboard blocks_mined_value_N% → numeric value.

  • %mitra:leaderboard blocks_mined_player_N% → player name.

  • %mitra:leaderboard blocks_mined_uuid_N% → player UUID.

  • #1 %mitra:leaderboard blocks_mined_player_1% — %mitra:leaderboard blocks_mined_value_1%

  • #2 %mitra:leaderboard blocks_mined_player_2% — %mitra:leaderboard blocks_mined_value_2%

  • #3 %mitra:leaderboard blocks_mined_player_3% — %mitra:leaderboard blocks_mined_value_3%


📜 Commands

(Base command may differ depending on your setup; examples use /lb)

  • /lb reload
    Reloads the leaderboard.yml configuration and reschedules all tasks.
    Useful when you change values in the config without restarting the server.

  • /lb recompute <holder>
    Forces an immediate recompute of the specified holder.
    Example: /lb recompute blocks_mined will update the ranking for the blocks_mined leaderboard instantly.

  • /lb list
    Displays a list of all currently active holders.
    Example output:


👨‍💻 Authors & Credits

  • Developer: srmast3r_ (SrMaster)
  • Twitter/X: @SrMaster
  • Credits: pb4 Placeholders by Patbox

Project description from Modrinth.

Pick your setup

Leaderboard by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

11 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Leaderboard versions and loaders

9 of 9 releases match

Looking for an older file? The official Modrinth project page is in Resources.