promotional bannermobile promotional banner

Indexor

A ledger mod that logs all kinds of things like: dropping items, block breaking, taking things out of chests, eploding blocks ect. Even with a rollback feature to undo the damage, perfect for server moderation.
Back to Files

Indexor-2.0.0

File nameledger-2.0.0.jar
Uploader
VibesnipVibesnip
Uploaded
Jan 10, 2026
Downloads
1.6K
Size
12.4 MB
Mod Loaders
Forge
File ID
7440346
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:indexor-ledger-1423454:7440346")

Learn more about Curse Maven

What's new

[2.0.0] - 2026-01-10 Major storage system overhaul - SQLite database implementation Added

  • SQLite database storage system with indexed queries
  • Automatic log cleanup scheduler (configurable retention period)
  • Batch processing system for improved write performance
  • WAL (Write-Ahead Logging) mode for crash safety
  • Six optimized database indexes for fast lookups
  • Cleanup command for manual database maintenance
  • Database size monitoring and reporting
  • Less Console spam when making entry's

Updated

  • Storage backend migrated from JSON to SQLite
  • LedgerManager with scheduled cleanup task (runs every 24 hours)
  • LogEntry constructor to support timestamp deserialization
  • Query performance: radius searches now 100x faster

Removed

  • JSON file storage as primary backend (JsonStorage.java kept for reference)
  • Full file rewrites every 10 entries
  • In-memory entry list loading at startup

Changed

  • File format: ledger.json → ledger.db (SQLite database)
  • Write strategy: batch inserts every 100ms instead of immediate writes
  • Default log retention: unlimited → 90 days (configurable)
  • Disk I/O: reduced from 1000+ full file writes/hour to append-only batches
  • Scalability: 500k max entries → 100M+ entries supported

Technical Details

  • Added dependency: org.xerial:sqlite-jdbc:3.44.1.0
  • Server compatibility: server-side only (no client required)

Migration Notes

  • New installations will use SQLite by default
  • Old JSON files can be safely deleted after verifying new system

This mod has no additional files