InventoryBackups
Say goodbye to losing items forever! A Minecraft server modification that automatically creates backup copies of player inventories and ender chests.
Overview
InventoryBackups is a powerful server-side mod that regularly saves the contents of player inventories and ender chests. Backup occurs on a schedule and during key moments (death, login/logout from the game). Administrators can easily view previous states, restore them, or copy items using simple commands and a convenient chat interface. Works with both active and inactive players! Excellent for:
- 🛡️ Server Protection - Recovery after crashes, errors, or rollbacks
- 👮 Administration - Investigation of duplication suspicions or item disappearances
- 🔧 Player Support - Assistance when losing items due to technical issues
- 📊 Activity Analysis - Tracking changes in inventories over time
- 🎯 Real-time Inspection - Viewing and editing live player inventories
Features
Automatic Inventory Backups
- ⏰ Scheduled Saving - Every 10 minutes (customizable)
- 💀 Death Save - Captures inventory before death processing
- ➡️ Login - Recording when player connects
- ⬅️ Logout - Saving upon disconnection
- 🧹 Smart Compression - Skips copying when no changes occurred
- 🗑️ Automatic Cleanup - Removes copies older than 7 days (customizable)
Ender Chest Archiving
- ⏰ Scheduled Copies - Same interval as main inventory
- 💀 Auto Save Upon Death - Captures contents upon death
- ➡️🔒 Save Upon Connection/Disconnection
- 📦 Chest Opening - Additional save option when opening chest (disabled by default)
- 🧹 Duplicate Filtering - Saving only for actual changes
Command Management
All commands require OP level 2 for security and work with active and inactive players!
/inventory list <player> [filter] [page]
Viewing copies with pagination (10 per page), filtering, and action buttons. Works for offline players!
/inventory view <player> <copy>
Interface for viewing saved content only. Works for offline players!
/inventory set <player> <copy>
Restoring inventory state to specified copy (requires player to be online).
/inventory copy <player> <copy>
Copying items from copy to your inventory (convenient for investigations). Works for offline players!
NEW! /inventory player <player>
Opening current inventory in editable interface (online players only). Changes sync automatically when closing.
Ender Chest Commands
Complete ender chest management toolkit through intuitive interface!
/enderchest player <player>
Editing player's current ender chest (online only). Auto-synchronization.
/enderchest list <player> [filter] [page]
View of saved states. Works for offline players!
/enderchest view <player> <copy>
Viewing contents of saved ender chest. Works for offline players!
/enderchest set <player> <copy>
Restoring ender chest condition (requires player online).
/enderchest copy <player> <copy>
Copying items to your inventory. Works for offline players!
Configuration
File location: config/inventory/InventoryBackups.toml
Main settings:
[general] save_interval = 600
death_save_mode = true
Ender chest settings:
[enderchest] enable = true
separate_events_setting =
All parameters can be configured individually - retention period (1-365 days), enabling separate save types, and much more.
Usage Examples
Viewing and editing player inventory:
/inventory player Alex - Real work with player Alex's live inventory
Recovery after losing items due to bug:
/inventory list Vasya death using "death" filter and recovery button
Checking offline player's ender chests:
/enderchest list Petya - Access to data even when user is offline
Key Feature: Supporting Offline Players
One of the crucial features — access to storage of all users regardless of status!
✅ Commands working offline: many commands available regardless of player's current in-game status
❌ Commands requiring online: only /inventory player, /inventory set, /enderchest player, /enderchest set require live player connection
Inventory copies are stored in player's folders with time descriptions and tags indicating save types.
This mod is open under MIT license — free usage, modification, and distribution. For ideas and issues, please use appropriate private channels — not stated explicitly here.