### 🚀 Genius Shop v1.4.0 - The Advanced Economy & Shop availability Update
This version transforms the Web Editor into a powerful tool and introduces deep economy controls, advanced time-based shop availability, and item properties.
#### 🎨 Web Editor: Overhaul
* **Undo & Rollback System**: A complete session history log. Revert any change (Created, Updated, or Deleted) with a single click.
* **Dynamic UI Feedback**:
* **Renamed Workflow**: Buttons renamed to **HISTORY**, **RELOAD**, **SAVE TAB**, and **PUBLISH ALL** for logical clarity.
* **Save Summaries**: A new confirmation modal shows exactly which items are being saved and which are deferred.
* **Visual Enhancements**:
* **Preview**: Increased Minecraft GUI preview size for better readability.
* **Status Badges**: Item cards now feature badges for Enchantments, Lore, Dynamic pricing, Limits, and Permissions.
* **Lore Preview**: Live multi-line lore rendering with color support directly on item cards.
* **Search Engine**: New search bar to instantly find items by name or material.
#### 💎 Advanced Economy & Shop Features
* **Advanced Shop Availability**: Restrict shop access to specific times, days of the week, or date ranges (e.g., `Monday-Friday`, `08:00-22:00`, `2024-12-01 to 2024-12-31`).
* **Unstable TNT**: Support for primed-on-break TNT items.
* **Dynamic Pricing**: Implemented supply-and-demand logic. Item prices can now automatically shift as players buy and sell.
* **Transaction Limits**: Set per-player trading limits on any shop item to prevent market inflation.
* **Metadata Mastery**: New item flags to enforce exact Name/Lore matches for selling.
* **Special Item Support**:
* **Potion Levels**: Full support for custom potion amplifier levels (1-255).
#### 🛡️ Security & Technical Improvements
* **Auto-Migration**: Configuration files now automatically update to include new keys from latest versions without touching your data.
* **Robust Backend**: Optimized YAML parsing for complex multi-line lore and nested properties.
#### 🛠️ Commands & Permissions
* `NEW` `/shop confirmlogin <token>` - Security confirmation for remote editor access.
* `NEW` `geniusshop.login.ip.bypass` - Permission to use the editor from untrusted IPs.
---
**Compatible with Minecraft 1.20.5+ and Java 21.**
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" }