Leaderboard

Quick rating

Leaderboard

No reviews yet

Create leaderboards for any data

API/Library
Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Unsupported
Server Required

About

Project Details

Type
Mod
License
All Rights Reserved
Latest Version
1.0-SNAPSHOT
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

About

Description

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

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~1,000
Downloads
Last Updated
CurseForge
Modrinth
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works