promotional bannermobile promotional banner

rankboard

Scoreboard ranking mod: web dashboard access, historical data query, point lookup for arbitrary post-install dates.
Back to Files

RankBoard 2.1.0 (MC 1.21-26.3)

File namerankboard-2.1.0-mc1.21-26.3.jar
Uploader
halfkitehalfkite
Uploaded
Nov 29, 2026
Downloads
6
Size
1.1 MB
Mod Loaders
FabricNeoForge
File ID
9885782
Type
R
Release
Supported game versions
  • 26.3
  • 26.2
  • 26.1.2
  • 26.1.1
  • 26.1
  • 1.21.11
  • 1.21.10
  • 1.21.9
  • 1.21.8
  • 1.21.7
  • 1.21.6
  • 1.21.5
  • 1.21.4
  • 1.21.3
  • 1.21.2
  • 1.21.1
  • 1.21

Curse Maven Snippet

Fabric

modImplementation "curse.maven:rankboard-1663124:9885782"

NeoForge

implementation "curse.maven:rankboard-1663124:9885782"

Learn more about Curse Maven

What's new

2.1.0

中文

  • 事件驱动的实时统计索引(解决每 Tick 轮询卡顿):新增 StatHandlerMixin 与 LiveStatIndex,在 Minecraft 写入玩家统计时以 O(1) 增量维护红石大蛇榜(REDSTONE_PLACED)、干饭榜、放置榜、挖掘榜、扔东西榜、捡东西榜、合成榜的实时汇总并通过脏位掩码通知刷新,消除原先每 tick 全量遍历玩家与注册表的性能瓶颈;非 Mixin 环境自动回退到预解析数组的 20-tick 轮询。在 MC 26.3 20 假人混合榜单压测中,活跃 tick 平均耗时从 16.92 ms 降至 3.10 ms(-81.7%),P95 从 23.43 ms 降至 5.68 ms,峰值从 54.74 ms 降至 15.80 ms。
  • 高频 Tick 热路径优化:为 LeaderboardState.get 增加单槽位服务端缓存并在停服时清理;LeaderboardReadScope 改为按需延迟分配缓存表;RuntimeMetricTracker 合并玩家状态表、非滑翔时跳过世界查询、无待刷增量时跳过刷盘,并优化破基岩扫描(复用可变坐标与原始整数距离平方);handleLookUpSneakMenu 先判潜行与仰角再取状态;PlayerCompat.isFake 使用 ClassValue 缓存。
  • 大幅削减与消除反射:在 ComponentLookupCompat、RegistryKeyCompat、StatCompat、26.x CommandPermissionCompat / PlayerDirectoryCompat / ProfileCompat 以及 UniversalBridge 热路径中完全移除反射;在 1.21–1.21.11 跨补丁兼容层(NbtCompat、TextCompat、PersistentStateCompat*、ProfileCompat、PlayerCompat、PlayerCommandSourceCompat、PlayerDirectoryBridge、PlayerNameColors、CommandPermission*)中优先直调并改用一次性 MethodHandle / ClassValue 与延迟加载内部类,删除废弃的 FlightMetricTracker。
  • 跨版本兼容性修复与全矩阵验证:隔离 1.21.4 旧版 PersistentState 与 TextCompat 静态类初始化,修复 1.21.5–1.21.11 启动 NoClassDefFoundError;移除 MC 26.3 中已删除的 ChatFormatting.isColor() 调用,改用 TeamColor 枚举映射;完成 Fabric 与 NeoForge 共 34 个版本组合(1.21–1.21.11、26.1–26.3)全量启动测试及代表版本真服功能回归。

English

  • Event-Driven Live Stat Tracking (Fixes Per-Tick Polling Lag): Added StatHandlerMixin and LiveStatIndex to maintain O(1) incremental per-player totals and a dirty-metric bitmask whenever Minecraft updates stats—covering Redstone Builder (REDSTONE_PLACED), Food, Placed, Mined, Dropped, Picked Up, and Crafted—eliminating per-tick full player/registry polling (with an automatic 20-tick pre-resolved array fallback when Mixin is unavailable). In a 20-fake-player mixed-metric benchmark on MC 26.3, active tick mean time dropped from 16.92 ms to 3.10 ms (-81.7%), P95 from 23.43 ms to 5.68 ms, and max from 54.74 ms to 15.80 ms.
  • Per-Tick Hot-Path Optimizations: Added a single-slot server cache to LeaderboardState.get (cleared on server stop); made LeaderboardReadScope allocate lookup maps lazily; merged RuntimeMetricTracker player state maps, skipped world lookups when not gliding, skipped empty flushes, and optimized bedrock scanning with mutable block positions and squared integer distances; guarded handleLookUpSneakMenu with sneak/pitch checks first; cached PlayerCompat.isFake via ClassValue.
  • Reflection Elimination & Minimization: Completely removed reflection from ComponentLookupCompat, RegistryKeyCompat, StatCompat, 26.x CommandPermissionCompat / PlayerDirectoryCompat / ProfileCompat, and the UniversalBridge fast path. Replaced repeated reflective lookups across 1.21–1.21.11 compatibility layers (NbtCompat, TextCompat, PersistentStateCompat*, ProfileCompat, PlayerCompat, PlayerCommandSourceCompat, PlayerDirectoryBridge, PlayerNameColors, CommandPermission*) with direct fast paths, one-time MethodHandle/ClassValue caches, and lazy legacy holders. Removed unused FlightMetricTracker.
  • Cross-Version Fixes & Full Matrix Verification: Isolated legacy PersistentState and TextCompat types into lazy inner holders to fix NoClassDefFoundError on 1.21.5–1.21.11; replaced removed ChatFormatting.isColor() in MC 26.3 with TeamColor enum mapping. Verified startup across all 34 Fabric and NeoForge combinations (1.21–1.21.11, 26.1–26.3) plus real-server functional regressions on representative versions.

This mod has no additional files