MineTracer
MineTracer is a powerful and lightweight block, container, sign, and kill logging mod for Minecraft servers designed to help server administrators monitor, investigate, and roll back player actions with ease. Built for Fabric, MineTracer provides advanced logging and rollback capabilities while remaining simple to use.
This mod is still under developement so don't expect everything to work flawlessly. Please write an issue report on GitHub if you find a bug, I am happy to recieve feedback!

-
Advanced Query System Search logs using flexible filters such as player name, time range, radius, action type, and specific item or block IDs. Combine multiple filters for precise lookups.
-
Rollback Functionality Instantly undo player actions within a specified area, time frame, or by specific users. Rollbacks are safe and only affect the filtered actions, minimizing risk of unwanted changes.
-
Inspector Mode Toggle inspector mode to view block history in real time. Right-click or break blocks to see a detailed log of recent actions at that location.

/minetracer lookup <filters>
Search through logs using any combination of filters.
/minetracer rollback <filters>
Roll back player actions matching the specified filters.
/minetracer page <number>
Navigate through paginated lookup results.
/minetracer inspector
Toggle inspector mode for real-time block history.
/minetracer save
Force save all log data to disk
Filters
user:<player>– Filter by player nametime:<duration>– Filter by time (e.g.,1h,30m,2d)range:<blocks>– Filter by radius in blocks from your current positionaction:<type>– Filter by action type (broke,placed,withdrew,deposited,kill)include:<item>– Filter by specific item or block ID
Permissions
minetracer.command.lookup– Access to lookup commandminetracer.command.rollback– Access to rollback commandminetracer.command.inspector– Access to inspector modeminetracer.command.page– Access to pagination
Images

How to Install MineTracer (Mod)
MineTracer by HelluPeptic is verified for Fabric across Minecraft versions 1.20.1, 1.21.1, 1.21.11, 26.1.2, 26.2, 26.3 (latest release: 1.16.9, file size: 13.5 MB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20.1, 1.21.1, 1.21.11, 26.1.2, 26.2, 26.3) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded MineTracer file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 3d ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 10mo ago | 1 | ||||
| 10mo ago | 1 | ||||
| 11mo ago | 1 | ||||
| 11mo ago | 1 | ||||
| 11mo ago | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 |
Added support for Minecraft version 26.1.2
- Work around ItemStack.CODEC's 1..99 count restriction by clamping counts >99 during NBT parse/encode. This means oversized stacks from mods will be tracked, logged, and rolled back correctly with their actual counts intact.
- Added shortcuts for all commands:
/mt i- Toggles inspector/mt rb- Shortcut for the rollback command/mt l- Shortcut for the lookup command/mt rs- Shortcut for the restore command
- Added a #force option to re-rollback entries
- Improved ItemStack NBT encoding/decoding with a safer codec that I found
- Accepts full block states in natural/entity/explosion types. This allows for better NBT property storage
- Improved rollbacks by parsing multiple NBT formats and restoring most block state properties
- Fixed double-chest linking
- Move the JSON migration to run after the storage system is initialized
- Updated Fabric dependencies and metadata
- Updated fabric-permissions-api to 0.6.1
- Added tracking for explosions, entity block changes, and natural block events
- Captures TNT and creeper explosions, enderman and ravager interactions, fire spread, fluid flow, ice melt, and grass and mycelium spread
- Adding better container position handling to support modded chests and their double equivalents.
- You can now define
#tntand#creeperinfront of theuser:filter to sort after block changes caused by tnt and creepers. These filters can also be used for rollbacks. - _These changes will make rollback much more consistent and reliable since it includes non-player interactions as well as player interactions._
## Fixes
- Improved fallback and error handling in item data lookup to prevent data loss. MineTracer now provides clear information about any corrupted items.
- Enhanced the deserialization logic
- Better handle NBT parsing errors with better fallbacks
- Better block restoration logic to properly apply NBT data for block entities. Makes it possible to for example restore broken shulkers along with their contents.
- Fixed misleading filename
All features should be working properly but minor bugs might appear
- Fixed issue where container interactions weren't logged sometimes due to position detection failures
- Fixed rollbacks failing on double chests when target slots were full
Container logging and rollbacks now work reliably for both single and double chests, as well as other container types, including modded containers.
- include/exclude filters supporting comma-separated lists (e.g.,
include:stone,dirt,diamondorexclude:glass,wool) - Clickable coordinates in lookup results that teleport players to log locations
- Preview mode for rollback showing client-side ghost blocks (
#previewflag) - Restore command to undo rollbacks
- Undo command to revert the last rollback or restore operation
## Fixes
- Fixed rollback only finding the most recent block instead of all matching blocks
- Fixed sign and kill logs not appearing in range-based lookups
- Fixed drop/pickup actions being reversed in the database
- Fixed NBT column error in container logging
- Removed excessive console debug spam from SQL queries and filters
- Complete migration from JSON to SQLite database for all storage operations
- Eliminated hybrid JSON/database architecture causing data loss
- Commands now query database instead of in-memory JSON (this fixed a massive memory leak)
All in all this is a MASSIVE update in terms of performance. Note that previous logs created by older versions will **not** be compatible with this new version.
- New
/minetracer savescommand - Save monitoring for TPS analysis
## Fixes
- Fixed drag operation logging bug. No more missing logs for container drag operations
- Enhanced backup system with atomic saves meaning less risk of data loss in the case of a server crash
- Fixed a bug where rapid container interactions were being dropped and not logged
- Container logging now captures ALL interactions regardless of timing, ensuring no missing deposits or withdrawals
- Now properly detects and logs all types of item transfers, including single-click moves and drag operations
- Transfer detection is now more reliable and doesn't require perfect item count matching
- Improved sign placement logging to handle timing edge cases where blocks might appear as "air" during placement
- Improved data persistence with more frequent incremental saves (every 30 seconds instead of 2 minutes)
- Improved background processing maintains zero lag impact while increasing accuracy
- Logs when players pick up items from the ground
- Logs when players drop items (Q key or drag outside inventory)