Описание
# InvHistory
A lightweight, server-side inventory history mod for Minecraft. InvHistory automatically captures snapshots of player inventories on configurable events — periodic intervals, join, leave, and death — and stores them efficiently using compressed NBT.
## Features
- **Automatic Tracking** — Snapshots are taken periodically (configurable interval) and on key events (join, leave, death). An MD5 hash check ensures only actual changes are recorded.
- **In-Game GUI** — Administrators can browse a player's inventory history through a chest-style interface with snapshot navigation, timestamps, and event reasons.
- **One-Click Restore** — Restore any snapshot directly from the GUI with a two-click confirmation to prevent accidents.
- **Zero Client Requirement** — Fully server-side. Players don't need to install anything.
- **Dual Loader Support** — Available for both Fabric and NeoForge.
- **YAML Configuration** — Customize snapshot interval, max snapshots per player, tracked events, and permission level.
## Commands
- `/invhistory see ` — Opens the snapshot viewer GUI for the specified player.
## Use Cases
- Investigate and roll back inventory losses caused by bugs or exploits
- Detect item duplication by comparing snapshots over time
- Restore player inventories after server crashes or griefing incidents