# Changelog - OpenInv v0.4
### 🚀 Major Feature: Database System (NEW)
- **Database Persistence System**: Introduced a fully database-driven architecture with support for MySQL and SQLite for permanent inventory snapshot storage.
- **Database-Backed Systems**:
- Auto-saved inventory snapshots
- Death inventory snapshots
- **Feature Toggles**: Added new toggles in `config.yml`:
- `auto-save-inventory.enabled`
- `death-snapshots.enabled`
### 🚀 New Commands & Shortcuts
- **Intuitive Shortcuts**: Added faster command aliases:
- `/inv <player>`: Shortcut for `/openinv check`
- `/invec <player>`: Shortcut for `/openinv echeck`
- `/invsee`: Alias for `/openinv`
- **Full Tab Completion**: All new shortcuts support player name and subcommand suggestions.
### 🛠️ Snapshot & GUI Improvements
- **Dynamic GUI Limits**: Removed hardcoded labels; GUI limits are now read directly from `config.yml`.
- **Expanded Rows**: GUI now supports up to 8 snapshots.
- **Type-Aware Cleanup**: AUTO and DEATH snapshot deletion logic is separated to prevent cross-system data loss.
### 🧹 Streamlining & Optimization
- **Save-on-Join Removal**: Removed the redundant save-on-join feature to improve player join performance.
- **Standardized Versioning**: Configured for **1.16 - 1.21.x** compatibility using Java 17 and Spigot API 1.16.5.
- **Clean Logs**: Reduced console output during startup and reload.
### 📖 Help & UI Polish
- **Updated Help Menu**: `/openinv help` now includes all new Commands.
- **Refreshed Welcome**: Modernized the OP join message.
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }