File Details
CustomJukebox-1.2.3.jar
- R
- Dec 18, 2025
- 376.51 KB
- 9
- 1.21.10+10
File Name
CustomJukebox-1.2.3.jar
Supported Versions
- 1.21.10
- 1.21.9
- 1.21.8
- 1.21.7
- 1.21.6
- 1.21.5
- 1.21.4
- 1.21.3
- 1.21.2
- 1.21.1
- 1.21
## [1.2.3] - 2025-12-15
### Fixed
- **Critical Loop-Task Bug**: Fixed issue where music would spontaneously restart
- Loop tasks were not properly canceled before creating new playback sessions
- Multiple tasks could run simultaneously, causing unexpected music restarts
- Now properly cancels old tasks BEFORE removing playback and starting new loop
- Prevents task accumulation that led to random music playback
- Added proper cleanup sequence: cancel task → stop sound → remove playback → start new
- **Play Command Parameter Order**: Fixed `/cjb play` command parameter parsing issues
- Parameters can now be provided in any order (e.g., `/cjb play disc loop 100` or `/cjb play disc 100 loop`)
- Previously required specific order (loop had to come before range)
- Added duplicate parameter detection with debug logging
- Improved error messages for invalid parameters with helpful suggestions
- Enhanced tab-completion to only suggest unused parameters
### Technical
- Improved task cancellation logic in `scheduleLoop()` method
- Better cleanup sequence prevents orphaned tasks
- Enhanced debugging output for loop operations
- Refactored PlaySubcommand parameter parsing with order-independent logic
- Added `playback-invalid-parameter` language key to all 4 language files