Bug Fixes
- Fixed item duplication in Collect Items GUI when rapidly clicking or using Ctrl+Q
- Fixed delivery flush log spam in console (moved to debug level)
- Fixed Folia/Canvas scheduler compatibility (UnsupportedOperationException on startup)
- Fixed items disappearing when closing delivery GUI after it auto-reopens
- Fixed delivery GUI still opening when order is already fulfilled
Delivery GUI Flow Overhaul
- Wrong items are now automatically returned to inventory with error message
- Cancel in Confirm GUI returns to Delivery GUI with items preserved
- Closing Confirm GUI returns to Delivery GUI instead of losing items
- After successful delivery, Delivery GUI reopens immediately for continued delivery
- Player disconnect during delivery safely drops items at player location
GUI Navigation
- All GUIs now navigate back to parent menu on close:
· Your Orders → All Orders
· New Order → Your Orders
· Select Item → New Order
· Edit Order → Your Orders
· Collect Items → Edit Order
- Fixed clicking "New Order" button getting stuck on Your Orders GUI
Collect Items GUI
- Items can now be picked up, shift-clicked, and dropped naturally
- Ctrl+Q throws items forward like vanilla behavior
- Page navigation no longer redirects to main menu
Other
- Added English documentation to custom-items.yml
- Default purge settings set to 0 (immediate cleanup)
- Fixed race condition: duplicate orders can no longer be accepted by multiple players at the same time
- Added Redis support for multi-server synchronization (cross-server-support)
- Added batch database operations for better delivery performance
- Added MMOItems & ItemsAdder integration support (soft dependency)
- Added custom-items.yml config for manually adding custom plugin items with prices and aliases
- Upgraded search system: /orders now supports searching by item name, player name, and enchantments (e.g. /orders diamond chestplate protection 4)
- Sign search in GUI now uses the same upgraded search logic
- Added configurable auto-purge settings (purge.enabled, completed-after-days, expired-after-days)
- Fixed delivery flush log spam in console (moved to debug level)
- Custom items display correctly in AllOrdersGUI and YourOrdersGUI with proper icons and names
- Skip enchantment selection GUI for custom items
- Fix the issue where items cannot be bundled together.
- Fixed database data errors, resolved the issue where orders were not deleted upon expiration, and added a feature to automatically clean up the database upon plugin startup.
- Fixed an issue preventing page navigation in the main order GUI.
- Fixed completed orders being lost after a server restart.
OrderPlugin Update - Critical Fixes & Database Optimization
Changelog:
- [] Fixed Critical Duplication Exploit: Resolved a major issue where items could be duplicated when using the "Collect All" feature for deliveries. [] Fixed Order Limits Logic:
[] Database Optimization (Auto-Purge):
- [] Cancelled Orders: Canceling an order now immediately releases the order limit slot. [] Filled Orders: Orders that are fully delivered (100%) but not yet collected no longer count towards the player's active order limit. [] Logic Update: Improved database queries to ensure only truly active, unfilled orders count against player limits.
[] GUI Clean-up: Removed invalid Unicode characters that were causing display artifacts in the "Your Orders" menu. [] Misc: Removed the manual "Database Cleaner" button (no longer needed due to auto-purge) and fixed refund message formatting.
- [] Immediate Deletion: Cancelled and Expired orders are now permanently deleted from the database immediately instead of lingering with a status change. [] Startup Cleanup: On plugin startup, the system will automatically scan and purge any legacy "Ghost", "Cancelled", or "Expired" orders to free up database space.
This update is highly recommended for all users to ensure economy stability and database performance.
