Changelog:
## Bug Fixes
- Fixed server log spam caused by anIllegalArgumentExceptionwhen a player aimed their wand at a wall sign,
wall banner, wall torch, or similar block-only materials that have no item form (e.g.OAK_WALL_SIGN). The wand will
now correctly skip counting these materials without throwing an error.
- Fixed deprecatedSound.valueOfusage that could produce warnings on newer Paper builds.
## Internal
- RefactoredWandEventsinto separate handler classes (BuildingHandler,SelectionHandler,ParticleHandler,
StorageHandler) for improved maintainability. No behaviour changes.
Critical Security Fixes
- Fixed Economy Exploits - Prevented race conditions in wand upgrade transactions that could cause money duplication
- Storage Bypass Protection - Blocked rapid-clicking exploits that allowed bypassing blacklist/whitelist restrictions
- NBT Security Hardening - Added comprehensive validation to prevent malicious NBT injection attacks
- Transaction Atomicity - Wand upgrades now validate completely before withdrawing money, preventing loss on failures
Performance Improvements
- Memory Leak Prevention - Added automatic cleanup on player disconnect and periodic maintenance
- Thread Safety - Replaced HashMaps with ConcurrentHashMaps throughout for better multi-threading
- Particle Optimization - Implemented distance-based rendering (64 block limit) and proper fallback mapping
- Rate Limiting - Added cooldowns for storage interactions to prevent server lag from spam-clicking
Bug Fixes
- Particle Mapping - Fixed sculk shriek and other particles displaying as flame instead of correct type
- Storage Validation - Enhanced pre-validation system with dual-layer security checks
- Event Priority - Resolved timing conflicts between storage validation and other plugin interactions
- State Management - Improved cleanup of upgrade states and tracking data
Technical Improvements
- Compilation Fixes - Resolved lambda expression and method signature issues
- Error Handling - Better logging and debugging for storage and economy operations
- Code Organization - Added ParticleMapper and NBTValidator utilities for cleaner architecture
- Configuration - Enhanced debug options for troubleshooting storage and economy issues
Compatibility Notes
- Maintains full backward compatibility with existing configurations
- No database migrations required
- All existing wands and player data preserved
Recommended Action: Update immediately for security improvements. No configuration changes needed.
BuildersWand Ultimate v1.1.0 - License System Update
What's New:
• Added Discord verification system - Link your purchase to Discord for support
• Each installation now generates a unique license key
• New/bwlicensecommand to view your verification key
• Automatic key generation on first server boot
How to Verify:
1. Type/bwlicensein-game to get your key
2. Join our Discord server
3. Use/verify YOUR-KEYto get verified
4. Receive the Verified Buyer role for priority support
Why Verify?
• Get faster support responses
• Access to exclusive Discord channels
• Direct communication with the developer
• Future exclusive features and early updates
Discord: https://discord.gg/apcHGzuH4P
No gameplay changes - this update only adds the optional Discord verification system for enhanced support.
## New Features
Multi-transaction undo support - undo multiple builds in sequence
Added undo debug mode (
/bw debug toggle undo)Improved material refund system
Enhanced transaction tracking per player
## Improvements
- Better memory management for transactions
- More detailed debug logging
- Automatic cleanup of expired transactions
## Bug Fixes
- Fixed issue where only first undo would refund materials
- Fixed transaction not being created for subsequent builds
- Resolved transaction cleanup issues
## Technical Changes
- Changed from single transaction to multi-transaction list per player
- Added transaction expiry validation
- Improved security validation for multiple transactions
