
BS CustomJukebox
Fully-featured Paper 1.21+ jukebox plugin with custom music discs, disc fragments, GUI support, and WorldGuard/GriefPrevention integration.
436
2
Список изменений
[3.0.0] - 2026-05-02
Added
- Public API Events: New event system for companion plugins
DiscPlaybackStartEvent— Cancellable event fired when a disc starts playing. Exposes disc, location, and mutable listener set.DiscPlaybackStopEvent— Fired when playback stops, withStopReasonenum (MANUAL, DURATION_END, BLOCK_BREAK, PLUGIN).DiscRegisteredEvent— Fired when a new disc is created via GUI or config.DiscRemovedEvent— Fired when a disc is removed, includes a snapshot of the deleted disc.
- API method:
CustomJukeboxAPI.getPluginDataFolder()— Allows companion plugins to locate disc sound files.
Changed
- PlaybackManager: Now fires
DiscPlaybackStartEventbefore playing sounds (allows cancellation and listener modification) andDiscPlaybackStopEventon stop. - DiscManager: Now fires
DiscRegisteredEventon disc creation andDiscRemovedEventon disc deletion.
Technical
- New package:
de.boondocksulfur.customjukebox.api.eventswith 4 event classes - All events follow standard Bukkit event patterns (HandlerList, static getHandlerList)
- Zero behavior change for existing users — events are no-ops without listeners
- Foundation for the new BS-CustomJukebox Bedrock Extension
Файлы
CustomJukebox-3.0.0.jar(221.27 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
3.0.0
Загрузчики
FoliaPaperPurpurSpigot
Версии игры
26.1–26.1.2
Загрузок
13
Дата публикации
1 нед. назад
