
DynamicShop
Dynamic price adjusting GUI shops!
Список изменений
Huge update

- Per-Item Fine-Grained Stock Limits Previously, stock scale was universally defined globally. We've completely rebuilt the backend item configuration to allow precise, per-item stock control:
(Soft Limit) Pricing Curve Max Stock: You can now manually override the scale at which the price-drop math behaves for specific items (e.g., making cobble drop in price faster than diamonds). (Hard Limit) Storage Hard Limit: You can now set an absolute maximum physical limit for an item. If set, players physically cannot sell that specific item to the shop once that limit is reached, protecting your economy from infinite-farms. In-Game Editor Integration: Fully integrated these two limits into the AdminItemEditGUI. Operators can left/right click to increase/decrease limits or reset them to "Global Default" / "Unlimited". Web Integration: Both variables were added as inputs to the WebAdmin Item Edit Modal.
- Total Category Management via WebAdmin We built a brand new WebAdmin tab dedicated strictly to customizing your shop's navigational categories without ever touching a JSON file or Java code:
Live Grid View: All categories (built-in and custom) are now beautifully rendered in a CSS grid, complete with item counts and visibility badges. Full Customization Modal: Clicking any category allows admins to live-edit the DisplayName, the display Icon, its GUI Slot position (0-53 or -1 to hide), and even bind an automated Restock Engine Rule (Target Stock / Interval) directly to the category! "Create Category" Button: Added a seamless "Create Category" button that automatically parses the backend for the first unused CUSTOM_X slot and spins up the editor to let you build it instantly. "Delete Category" Flow: A big red "Delete" button was added for Custom Categories that gracefully wipes the category configuration and hides it from the GUI.
- Security, Authenticity & Audit Upgrades Accountable Audit Logs: We rebuilt the session handling inside WebAdminUserManager and WebAdminTokenManager to explicitly track player identities. The WebAdmin Audit log now correctly prints the exact Name/UUID of the admin who made the change rather than a generic "admin" string. Insecure Connection Banners: Injected a dynamic javascript function into admin.html that automatically detects the user's connection protocol.
