File Details
cobblemon-diamond-dj-1.3.0.jar
- R
- Feb 9, 2026
- 32.52 MB
- 2.4K
- 1.21.1
- Fabric
File Name
cobblemon-diamond-dj-1.3.0.jar
Supported Versions
- 1.21.1
Curse Maven Snippet
[1.3.0] - 2026-02-09
Added
- Streaming mode: optional URL-based playback (YouTube, SoundCloud, Bandcamp, Vimeo, HTTP) via LavaPlayer with classloader isolation
- Server config:
playbackMode(local|streaming),streamingPlaylistFile,battleMusicDisabledInStreaming, YouTube auth fields (youtubePoToken,youtubeVisitorData,youtubeOAuthRefreshToken) - Stream commands (ops, streaming mode only):
/dj play <url>,/dj queue <url>,/dj addplaylist <url>,/dj clearqueue - YouTube auth polish: apply auth when poToken or OAuth refresh token is set; on resolve failure with severity SUSPICIOUS, in-game and log hint to add
youtubePoToken(link to youtube-source docs) - URL validation & domain whitelist: strict server-side and client-side URL validation (YouTube, SoundCloud, Bandcamp, Vimeo only); playlist file,
/djcommands, network packets, and client handler all reject untrusted domains - Stream retry mechanism: client automatically retries failed streams up to 2 times (10s then 15s delay) before giving up; handles transient YouTube cipher failures on cold-start
- HUD error state: failed streams now display "Stream unavailable" in the HUD instead of showing stale "Now Playing" info
- Battle music: player death handling:
AFTER_DEATHevent clears battle override immediately;AFTER_RESPAWNevent restores global playback for the new entity - Battle music: Pokemon capture handling:
POKEMON_CAPTUREDevent ends battle music and restores global playback - Battle music: stale battle cleanup:
BattleMusicManager.tick()periodically checks Cobblemon'sBattleRegistryand removes orphaned battle sessions
Changed
/dj startin streaming mode starts from the stream queue when available/dj reloadin streaming mode reloadsstreaming_playlist.txtand resolves URLs into the stream queue/dj listand/dj statusshow stream queue and playback mode when in streaming mode/dj skipand/dj forceskipadvance the stream queue when the current track is a stream- Now-playing packet includes
sourceType(LOCAL/STREAM) andsourceUrl; server config sync includesplaybackModeandbattleMusicDisabledInStreaming - Default HUD preset changed to SUPER_MINIMAL (progress bar only, no chat messages)
- Late-join streaming behavior: new players in streaming mode start the current track from 0:00 instead of mid-song; they sync with everyone on the next track advance
- Network packet
sourceUrlfield capped to 2048 characters for hardening - Centralized YouTube authentication via
AudioSources.configureYouTubeAuth() - Version bump to 1.3.0; startup and
/dj statusshow v1.3

