Skip to content

Releases: selfservice0/DynamicShop

2.6.1

14 Jun 18:20

Choose a tag to compare

Server Shop items now display Stock: Unlimited instead of showing normal item stock or Out of Stock.
Server Shop items now use their configured fixed price, including component / stored_item delivery items.
Server Shop items assigned into regular categories now still purchase through Server Shop handling.
Shop/category/admin/player-shop GUIs now block edge cases

2.6.0

03 Jun 15:19

Choose a tag to compare

Keep custom variant prices separate
restored the OP check for the webadmin command
added custom display names, fixed stored_item delivery, consolidated templates, and added /shopadmin setname
fixed special item display names not rendering in the shop GUI
routed stored_item delivery through the dialog buy path
made stored_item variants use their own base price with inflation
kept custom variant prices separate

2.5.9

13 May 03:50

Choose a tag to compare

New Features Enchanted / Custom Item Variants Adding an enchanted or custom item when the base material already exists in the shop now auto-creates a custom variant instead of overwriting the original Custom variants appear in the same category as the base material (e.g., an enchanted diamond sword appears in Tools alongside the plain one) Variants use stored_item delivery — buyers receive an exact clone with all enchantments, lore, and custom data preserved Category Override for Items /shopadmin add item [category] now accepts an optional category argument Tab completion suggests all available categories when typing the command Allows placing items in any category regardless of auto-detection ValhallaMMO Integration Added native support for ValhallaMMO custom items Custom items are auto-detected and routed through the server-shop system with valhallammo delivery

Improvements Dynamic Pricing on Custom Variants Custom variants now display dynamic buy and sell prices based on the base material's stock curve (instead of a static fixed price) Stock levels are shown on custom variants using the base material's stock pool Low stock and out-of-stock warnings display correctly

Admin GUI Custom variants now appear in the Admin Shop Browse GUI within their assigned category Right-clicking a custom variant opens the Special Item Editor for editing or deletion Pagination correctly accounts for mixed regular + special items Inventory Selling (Dialog GUI Mode) Right-click and Shift+Right-click selling from player inventory now works when Dialog GUI mode is enabled Sell price lore is displayed on inventory items while the shop is open Nexo GUI Textures Fixed race condition where Nexo glyphs weren't initialized before DynamicShop loaded Added lazy-cached warmup pattern to NexoWrapper with graceful fallback 1-tick startup delay ensures Nexo glyph singletons are registered first

Bug Fixes Fixed enchanted item override — Adding an enchanted diamond sword no longer replaces the plain diamond sword template Fixed messages.yml corruption — Replaced YamlConfiguration.save() with safe file-append to prevent MiniMessage and tags from being mangled by SnakeYAML re-serialization Fixed isServerShopItem() returning false for items with category overrides — now checks itemIdentifier instead of category == SERVER_SHOP Fixed custom variant display name — Shows the item's actual display name (from stored enchanted item) instead of the raw ID like diamond_sword_custom_95084 Fixed stock not showing on custom variants due to overly restrictive category and itemConfigs checks

2.5.7

21 Apr 23:22

Choose a tag to compare

Added missing messages.yml key hooks

2.5.6

18 Apr 14:31

Choose a tag to compare

Fixed shortage not applying.

WARNING: This will resolve shortage not accrueing. It may be best to reset shortage via the webadmin panel.

2.5.5

18 Apr 13:59

Choose a tag to compare

Bulk item selection: Checkboxes on every item row + "Bulk Actions" dropdown to disable/enable items, buying, or selling for multiple items at once
Fix: /shopadmin add perm and /shopadmin add group commands updated to match world-scoped method signatures

2.5.4

18 Apr 05:22

Choose a tag to compare

  1. Web Administration Integration
  • API Endpoints Updated: Standardized the administrative APIs (/api/shop/items and /api/admin/items) to dynamically inject and aggregate both "Special Items" (Permissions/Groups/Servers) and "Player Shop Listings" alongside standard item materials.
  • Category Metrics Corrected: Fixed the metric calculations within /api/admin/categories so the tracker accurately reflects totals if items are added to the PERMISSIONS, SERVER_SHOP, or PLAYER_SHOPS categories.
  • Intelligent Routing (admin.html): Clicking "Edit" or "Add Item" in the admin dashboard now correctly intercepts what category you are in
  • Special Items: In PERMISSIONS or SERVER_SHOP spaces, clicking "Add Item" or "Edit" will instantly open the backend Special Item Management Modal instead of the Minecraft material picker.
  • Player Shops: Clicking "Edit" on an active Player Shop listing now triggers an API sequence (calling an newly established DELETE /api/admin/playershop/{id} endpoint) allowing administrators to force-delete abusive or incorrect player listings directly through the UI.
  1. World Architecture
  • Permissions Engine Overhauled: Updated PermissionsManager.hasPermission() to accept a dual-scoped signature taking both Player and String permissionWorld. This correctly offloads context-aware permission checks to the server framework (Vault) if the player attempts to buy a rank/permission intended for another world.
  • Configuration Implementation: Added serialization support to SpecialShopItem ensuring that fields like permission_world and group_world are safely loaded, parsed, and exposed to the GUI execution layer without regressions.
  1. Stability & Patches
  • Resolved GUI Compilation Failure: Fixed ShopGUI invoking outdated .hasPermission(Player, String) signatures.
  • Repaired Web Payload Crashes: Addressed a severe JSON loop rendering error in {WebServer} where the iterators for parsing special material types triggered Duplicate local variable collisions.

2.5.3

17 Apr 21:44

Choose a tag to compare

Fixed base price not applying when modified on webserver page.

2.5.2

16 Apr 19:16

Choose a tag to compare

Added missing Keys to messages.yml

2.5.1

16 Apr 19:12

Choose a tag to compare

Finalized localization.

Added missing string keys for the user interface under a new GUI general messages section, allowing them to be fully translatable.