
DynamicShop
Dynamic price adjusting GUI shops!
2.4K
11
2.4K
11
Список изменений
- 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.
- World-Scoped 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.
- 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.
Файлы
DynamicShop-2.5.4.jar(9.16 MiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
2.5.4
Загрузчики
FoliaPaperPurpurSpigot
Версии игры
1.2.1–1.21.11
Загрузок
25
Дата публикации
2 нед. назад
