All Mods Resource Packs Data Packs Shaders Modpacks Plugins
CDisc Music

CDisc Music

by valkdzx • Downloads: 49 • Followers: 0
Description
Gallery
Changelog
Versions

🎵 CDisc Music

Turn any track from the internet into a real music disc. Put it in a jukebox and everyone nearby hears it through proximity voice chat: the closer you stand, the louder it gets.

YouTube, Spotify, SoundCloud, Yandex Music, VK, TikTok, Twitch, Discord attachments, your own music folder, and more.

No API keys, no tokens, no accounts. Install it and it plays. Keys still work if you have them, but nothing needs them.


📥 Requirements

  • Simple Voice Chat or Plasmo Voice. One is enough; with both installed CDisc plays through both, so players on either mod hear the same jukebox, and players with both mods hear it once.
  • Spigot, Paper or Folia, 1.20 or newer. One jar for all three.

Optional: WorldGuard for protecting jukeboxes in regions, PlaceholderAPI for placeholders.

Put CDisc and the voice plugin into plugins/ and restart. Players need the matching voice-chat client mod to hear the music.


🚀 Quick start

Hold any music disc and run:

/cdisc create never gonna give you up

Pick a track from the list in chat. The disc in your hand now carries that track, with its name and author in the tooltip. Put it in a jukebox, and it plays from the jukebox itself, in sync for everyone in range.

More ways to make a disc:

  • /cdisc create https://youtu.be/dQw4w9WgXcQ writes a link straight to the disc
  • /cdisc create sc:lofi hip hop searches SoundCloud (yt: sp: ym: vk: work the same way)
  • /cdisc create local:rain.mp3 plays a file from plugins/CDisc/local, with Tab completion
  • /cdisc disc playlist <link> writes a whole playlist: drop blank discs into the window and each gets a track

A disc is an ordinary item from then on: carry it, trade it, store it in a chest.


✨ Features

💿 Jukeboxes and the player screen

  • Crouch at a playing jukebox to see a progress bar with the track and its time, then right-click it to open the player. Without crouching, a right-click takes the disc out as usual. /cdisc sneak lets each player choose how crouching works.
  • The player screen: play / pause, seek ±5 s or type an exact timecode, previous / next, repeat (off, whole queue, one track) and shuffle. On 1.21.6+ it opens as a real window with sliders and buttons; older versions and Spigot get the chest screen.
  • A queue of 42 discs per jukebox, played one after another. Choose what happens to a finished disc: it stays, it is ejected, or it moves to the end.
  • Crossfade: the end of one disc blends into the next, with no gap between tracks.
  • Nothing is lost: queues survive restarts and crashes, a playing jukebox resumes where it stopped, and breaking or burning a jukebox drops a jukebox that still holds every disc. Placing it again puts the queue back.
  • Live streams from Twitch and YouTube play for as long as the broadcast runs.
  • Parrots dance to CDisc discs just as they do to vanilla ones.

📡 Sound

  • True proximity audio: the music comes from the jukebox and fades with distance.
  • Beacon range boost: build a beacon pyramid under a jukebox and raise its range from the player screen. Bigger pyramids allow more range.
Pyramid level Extra range
1 +16 blocks
2 +32 blocks
3 +64 blocks

Sound Range demo

  • Speaker groups: link up to 8 jukeboxes into one group and they play the same track in sync. Each speaker can be set to stereo, mono, the left channel or the right one, at its own volume. Good for a club, an arena or a town square.
  • Carry a jukebox: pick a playing jukebox up without stopping the track, and the music follows you, through portals too. With /cdisc player scoreboard the lyrics go to your sidebar, and everyone else reads them over your head.
  • Two volumes: one for everyone around the jukebox, and one for whoever carries it.
  • Goat horns: /cdisc create with a goat horn in hand records a short sound onto it, up to 15 seconds by default. Blowing the horn plays it through voice chat.

🎤 Lyrics over the jukebox

  • Timed lyrics float above a playing jukebox, line by line, from free lyrics databases.
  • Each player chooses what they see: the words, the words with the track and time, the words with the time, the track and time, the time alone, or nothing. Left and right click on the lyrics button in the player screen step through the views, or use /cdisc lyrics.
  • Your own look: /cdisc preset sets colours, size, opacity, line count, shadow, fade and slide, with a live sample in front of you. Everyone reads the hologram their own way, and /cdisc preset share <player> offers your look to a friend.
  • Server presets: admins make named looks with /cdisc admin presets and hand them to players, to a selector, or to everyone as a default. Optionally forced, so nobody can change them.
  • Live chat: on a Twitch or YouTube live stream, the stream's chat takes the place of the lyrics.

🎙️ Broadcasts (experimental)

⚠️ Experimental. Broadcasts are new and may still have bugs. If something goes wrong, please report it on GitHub, ideally with a /cdisc admin logs link. broadcast.enabled: false in config.yml switches them off.

/cdisc create broadcast:Name makes a disc that plays no music: in a jukebox it goes live. Its host adds up to six microphones. A handheld one can be passed from player to player; a block microphone hears everyone standing near it. Voices come out of the jukebox and every speaker linked to it, so a stage or a radio station is one disc away.

📁 Your own music folder

  • Drop audio files into plugins/CDisc/local and they are discs: local: with Tab completion, played straight from disk with nothing fetched.
  • A .jsonc file beside a track gives it its own name, volume, permission and lyrics. /cdisc admin local-files-config <file> edits all of it in a window.
  • /cdisc admin download <link or search> saves a track into the folder from in game, from YouTube, Spotify, a direct link or a search, so it keeps playing whatever happens to the original.

🛠️ For server owners

  • A permission for every action: pause, skip, seek, queue, carrying a jukebox, lyrics and more, all set in permissions.yml. Screens hide the buttons a player may not use. Limits for players who are not staff: a cooldown, the longest allowed track, live streams on or off, allowed and blocked hosts.
  • WorldGuard: a jukebox inside a region answers only the region's members. The cdisc-jukebox flag opens a region's jukeboxes to everyone, or closes them to members too.
  • A settings window: /cdisc admin config edits every config file in game (Paper 1.21.7+).
  • Diagnostics: /cdisc admin doctor shows which sources work and which are missing something, and /cdisc admin logs uploads the log with that report for a bug report, with keys and tokens hidden.
  • Updates itself: new releases from Modrinth or GitHub are downloaded and installed when the server stops. This can be turned off.
  • 7 languages: English, Russian, Ukrainian, German, Spanish, Hebrew and Arabic. Each player reads their client's language, or you pin one for the whole server. Your own translation drops into languages/.
  • PlaceholderAPI: %cdisc_track%, %cdisc_position%, %cdisc_progress% and more for the nearest jukebox a player can hear.
  • API: other plugins can listen to TrackStartEvent, PlaybackStopEvent and the cancellable DiscCreateEvent, and ask CDiscApi what a jukebox is playing.
  • Upgrades keep your settings: every config file is brought up to date from the new jar, your changes stay, and the old file is kept as .old.

🌍 Sources

Source Prefix Needs
YouTube yt: (or no prefix) nothing
Spotify sp: nothing; keys only make search use Spotify itself
SoundCloud sc: nothing
Yandex Music ym: nothing
VK Music vk: nothing
TikTok links, or tt: + video number nothing
Twitch, Mixcloud, Reddit links nothing
Discord attachments links nothing (Discord's links expire after about a day)
Your music folder local: nothing
Any direct audio link links http: true in sources.yml

A search shows a list to pick from; add :10 at the end for more results. Albums and playlists open too.

Why no keys are needed

YouTube is read directly first. When YouTube refuses the server, as it does for many hosting addresses, CDisc asks its public backend, which fetches the track from its own address. The same backend reads Spotify, Yandex Music and VK links without any tokens. It is on by default; sources.yml turns it off.

Keys and tokens in tokens.yml are still read if you add them: Spotify client keys, Yandex Music and VK tokens as a fallback when the backend cannot be reached, a YouTube po-token, and an outgoing proxy. None of them are required.


⌨️ Commands

Command What it does
/cdisc create <link or search> Write a track onto the disc or goat horn in your hand
/cdisc disc clear Turn the held disc back into a normal one
/cdisc disc playlist <link> Write a playlist onto blank discs
/cdisc disc convert Convert a disc made by pv-addon-discs
/cdisc player <pause \| play \| next \| previous \| seek \| repeat \| queue \| info> Control the jukebox you are looking at or carrying
/cdisc player scoreboard Lyrics in your sidebar while you carry a jukebox
/cdisc lyrics <view> Choose what you see over jukeboxes
/cdisc preset Your own hologram look; share <player> offers it to someone
/cdisc pair <create \| add \| remove \| dissolve \| channel \| volume \| list> Speaker groups
/cdisc sneak <toggle \| release \| off> How crouching at a jukebox works for you
/cdisc messages Turn "Now playing" messages on or off
/cdisc admin <reload \| doctor \| download \| logs \| config \| presets \| local-files-config> Server tools; they run from the console too

📊 Stats

https://bstats.org/plugin/bukkit/CDisc%20Music

How to Install CDisc Music (Plugin)

CDisc Music by valkdzx is verified for Bukkit, Folia, Paper, Purpur, Spigot across Minecraft versions 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21 (latest release: 2.2.1, file size: 2.9 MB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21) and platform (Bukkit, Folia, Paper, Purpur, Spigot).
  2. Make sure you have the compatible loader or environment installed for Bukkit, Folia, Paper, Purpur, Spigot.
  3. Move the downloaded CDisc Music file into your Minecraft .minecraft/plugins folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3 26.2 26.1.x +2
Bukkit Folia Paper Purpur Spigot
2mo ago 27
26.3 26.2 26.1.x +2
Bukkit Folia Paper Purpur Spigot
2mo ago 13
26.3 26.2 26.1.x +2
Bukkit Folia Paper Purpur Spigot
2mo ago 9
26.3 26.2 26.1.x +2
Bukkit Folia Paper Purpur Spigot
2mo ago 7
26.3 26.2 26.1.x +2
Bukkit Folia Paper Purpur Spigot
2mo ago 5
26.3 26.2 26.1.x +2
Bukkit Folia Paper Purpur Spigot
2mo ago 4
26.3 26.2 26.1.x +2
Bukkit Folia Paper Purpur Spigot
2mo ago 4
26.3 26.2 26.1.x +2
Bukkit Paper Purpur Spigot
2mo ago 3
26.3 26.2 26.1.x +2
Bukkit Paper Purpur Spigot
2mo ago 3
26.3 26.2 26.1.x +2
Bukkit Paper Purpur Spigot
2mo ago 3
26.2 26.1.x 1.21.x +1
Bukkit Paper Purpur Spigot
2mo ago 2
26.2 26.1.x 1.21.x +1
Bukkit Paper Purpur Spigot
2mo ago 2
26.2 26.1.x 1.21.x +1
Bukkit Paper Purpur Spigot
2mo ago 2
26.2 26.1.x 1.21.x +1
Bukkit Paper Purpur Spigot
2mo ago 2
26.2 26.1.x 1.21.x +1
Bukkit Paper Purpur Spigot
2mo ago 2
26.2 26.1.x 1.21.x +1
Bukkit Paper Purpur Spigot
2mo ago 2
26.2 26.1.x 1.21.x +1
Bukkit Paper Purpur Spigot
2mo ago 2
26.2 26.1.x 1.21.x +1
Bukkit Paper Purpur Spigot
2mo ago 1
26.2 26.1.x 1.21.x +1
Bukkit Paper Purpur Spigot
2mo ago 1
26.2 26.1.x 1.21.x +1
Bukkit Paper Purpur Spigot
2mo ago 1
1.21.x 1.20.x
Bukkit Paper Purpur Spigot
2mo ago 1
1.21.x 1.20.x
Bukkit Paper Purpur Spigot
2mo ago 1
1.21.x 1.20.x
Bukkit Paper Purpur Spigot
2mo ago 1
1.21.x
Bukkit Paper Purpur Spigot
2mo ago 1
1.21.x
Bukkit Paper Purpur Spigot
2mo ago 1
[2.2.1] CDisc Music 2.2.1 by valkdzx on Oct 15, 2026
Download
  • New graphite player heads: Advanced settings, speakers, the queue and every Back button are heads too
  • Player screen themes: Dark or Legacy (the old heads and vanilla items), switched in Advanced; gui-theme sets the default
  • CDisc discs no longer show the vanilla song name under their own lore
  • Disc lore is translated into the maker's language and shows track length and a live-stream marker
  • Developer API: control jukeboxes, their queues, screens, discs and player settings from other plugins
  • Developer API on Maven through JitPack
  • Tracks a plugin queues are locked discs that never leave the jukebox as items; api.allow-discs-in-queue makes them ordinary discs
[2.2] CDisc Music 2.2 by valkdzx on Oct 15, 2026
Download
  • Own audio engine: LavaPlayer, youtube-source and LavaSrc removed, jar 41 MB to 3 MB
  • NBT-API removed
  • Own readers for YouTube, SoundCloud, Twitch, Spotify, Yandex Music, VK Music, HTTP and local files
  • Faster Spotify discs
  • Sources removed: Mixcloud, Reddit, Vimeo, Bandcamp, OC ReMix, Soundgasm, PornHub
  • Settings removed: youtube.clients, youtube.log-client-failures, youtube.fast-create, youtube.probe-timeout-seconds
  • Lyrics off the server thread, far lower load
  • Lighter crouch progress bar
  • Files saved off the server thread
  • Parrots dance to CDisc discs
  • Lyrics button: next and previous view, shift opens the look
  • Busy jukeboxes can't become speakers
  • /cdisc disc convert has its own permission
  • Fixed: duplicated carried jukeboxes
  • Fixed: Folia queue saving
  • Fixed: explosions silencing jukeboxes
  • Fixed: non-CDisc items in the queue
  • Fixed: late-cancelled jukebox breaks
  • Fixed: vanilla disc lost on break
  • Fixed: failed discs copied into the queue
  • Fixed: hopper-inserted discs not playing
  • Fixed: blank disc after moving it while loading
  • Fixed: YouTube player detection
  • Fixed: seeking through the YouTube backend
  • Fixed: seek jumping back
  • Fixed: Spotify tracks matched to another song by the same artist
  • Fixed: startup error in the console when no voice plugin is installed
[2.1.2] CDisc Music 2.1.2 by valkdzx on Oct 15, 2026
Download
  • Broadcasts: /cdisc create broadcast:Name makes a disc that plays no music. In a jukebox it goes live, and its host — whoever made the disc — or an operator adds up to six microphones from the Broadcast button. A handheld microphone is heard only from its holder, can be passed on or put back in the jukebox, and returns to the host past handheld-range; a block microphone hears a player as far as their voice carries, quieter with distance. Voices reach the jukebox and its paired speakers through Simple Voice Chat and Plasmo Voice. broadcast.enabled in config.yml switches it off.
  • Crossfade: the next disc in a queue is loaded ten seconds before the end and the last seconds of both are blended. crossfade in config.yml sets the length, 0 turns it off, and each jukebox can turn it off from Advanced or the dialog's options.
  • Server hologram presets: /cdisc admin presets add <name> makes a named look in the /cdisc preset window, set <name> <players> [true|false] gives it to players or a selector, unset takes it back and remove deletes it. Given without force it is a starting point players can still change; forced, it is all they see. default <name|none> [true|false] gives it to everyone else, players who join later included. Edits reach everyone at once. Needs cdisc.admin.presets, operators by default.
  • The player screen is two rows: controls on top, Advanced, the lyrics and exit below. Speakers, volume, beacon range, carrying, track messages, the dialog switch and crossfade moved to Advanced, and each player's last screen is opened again next time.
  • PlaceholderAPI placeholders %cdisc_...% describe the nearest jukebox a player can hear; other plugins get TrackStartEvent, PlaybackStopEvent, the cancellable DiscCreateEvent and CDiscApi.
  • youtube-source no longer plays tracks: after the direct read only the backend is asked. It still lists searches and playlists.
  • The crouch progress bar goes away once the player is out of earshot, and a jukebox that is playing, holds a disc or has a queue can no longer be paired as a speaker.
  • Parrots within three blocks of a jukebox dance to CDisc discs as they do to vanilla ones, and stop when playback ends.
  • Players given a server hologram preset without force keep their own look: the Return my own look button in /cdisc preset brings it back, and editing the preset turns it into their own. /cdisc admin presets unset also returns it.
  • The lyrics button in the player screen: left click shows the next view above jukeboxes, right click the previous one, and shift+click opens your own hologram look.
  • /cdisc admin logs now has its own permission, cdisc.admin.logs.
  • log-upload: false in config.yml turns it off.

Note: by mistake, cdisc.admin used to grant /cdisc admin logs too. So anyone given cdisc.admin just for /cdisc admin doctor or reload could also upload the server log to a public link. Now it takes cdisc.admin.logs.
  • Breaking a playing jukebox no longer starts the vanilla disc sound.
  • WorldGuard support: jukeboxes in a region answer only its members (flag cdisc-jukebox).
[2.1.1] CDisc Music 2.1.1 by valkdzx on Oct 15, 2026
Download
  • Yandex Music and VK Music without a token
  • TikTok links working again
  • Per-file settings for the music folder
  • Faster Spotify matching
  • Live stream chat in place of lyrics
  • Errors go to the plugin log
[2.1] CDisc Music 2.1 by valkdzx on Oct 15, 2026
Download
  • YouTube discs start faster.
  • Tracks blocked in the server's country go straight to the backend.
  • Search also shows videos only the backend can play.
  • A region-blocked track falls back to another upload of the same song.
  • Fewer requests to the backend.
  • Each player chooses what floats over jukeboxes with /cdisc lyrics.
  • A jukebox someone else has open shows you a smaller screen instead of refusing.
  • Resetting a hologram look asks for confirmation.
  • Direct links into the server's own network are refused.
  • http: true no longer re-enables sources that are switched off.
  • Updates are also checked on GitHub Releases.
[2.0.2] CDisc Music 2.0.2 by valkdzx on Oct 15, 2026
Download
  • YouTube now asks one source at a time: the direct read first, then the backend, youtube-source last. YouTube links work on servers where youtube-source is blocked.
  • The direct read is always on; youtube.sabr only adds a SABR retry.
  • New proxy.address in sources.yml sends all plugin traffic through an HTTP proxy. The login goes in tokens.yml. /cdisc admin reload applies changes without a restart.
  • New /cdisc admin logs uploads the server log with the doctor report to mclo.gs and returns a link to attach to a GitHub issue. Keys and tokens are hidden.
  • The settings window (/cdisc admin config) is on by default.
  • New debug in config.yml shows in the console which source each track came from.
  • Removed /cdisc admin ytsetup.
[2.0.1] CDisc Music 2.0.1 by valkdzx on Oct 15, 2026
Download
  • Add a settings window at /cdisc admin config
  • Play SoundCloud through the backend proxy
  • Record short sounds onto goat horns
[2.0] CDisc Music 2.0 by valkdzx on Oct 15, 2026
Download
  • Seeking in long YouTube videos is now instant.
  • A failed audio frame no longer silences a jukebox.
  • Spotify playlists and albums work without keys; YouTube links with a playlist are read as playlists.
  • Spotify search without keys falls back to YouTube.
  • Local files with non-Latin names play correctly.
  • New releases download and install themselves when the server stops.
  • The backend is on by default, and the proxy turns on by itself on servers in Russia. Turning either off is respected.
  • A disc taken out of the queue no longer keeps playing from the jukebox as a copy.
  • Give a new lyrics hologram its preset size from the first line
[1.9.1] CDisc Music 1.9.1 by valkdzx on Oct 15, 2026
Download
Added a plugin auto-update system that runs after the server stops.
[1.9] CDisc Music 1.9 by valkdzx on Oct 15, 2026
Download
### 🔑 A permission for every action, and screens built from them

A player either had the player screen or did not. cdisc.player opened all of
it at once: pause, skip, seek, volume, the queue, and picking the jukebox up to
carry it away. Half of it could not be handed out.

Every action now carries a node of its own — cdisc.player.pause,
cdisc.queue.add, cdisc.lyrics.toggle, thirty-eight of them — and
permissions.yml holds one rule per action instead of one default per command:

``yml
actions:
player:
pause: [somegroup.admin, somegroup.mod]
portable: op
repeat: '!somegroup.muted'
beacon: false
`

A rule is
true, false, op, notop, the name of a permission, the name of
one with a
! in front for whoever has *not* got it, or a list of any of those,
and one matching line in the list is enough.
true, false and op are set as
the default of the node itself, so a permission plugin can still overrule them
for a single player; a rule that names other rights is a second way in rather
than a way to lose one.

The screens are drawn from the same answers. Someone who may not carry a
jukebox is not shown the button for it, someone who may not change the volume
does not get the slider in the dialog, and a queue that may be read but not
edited refuses the disc rather than swallowing it. The commands answer per
subcommand, so
/cdisc player pause and /cdisc player next are separate
questions.

Nothing has to be rewritten by hand: the old
defaults block is carried onto
the new rules the first time the plugin starts, and the old node names keep
working as parents over the actions they used to cover, so a grant of
cdisc.player in LuckPerms still reaches all of its pieces.

### 🎨 Everyone reads the hologram their own way

A preset was meant to be personal, and a player who set one did get an extra
hologram drawn to their own taste — but that copy was never hidden from anybody
else. Two players with presets at the same jukebox each read three sets of words
at once: their own, the other's, and the jukebox's, stacked in different colours
over the same block.

Every reader now sees the words their own preset asks for and nothing else. One
hologram is put up per look actually in use among the players within 80 blocks
of the jukebox, so a crowd that never touched
/cdisc preset` still shares a
single entity between them, and each hologram is invisible to everyone outside
its own group. Nobody nearby means nothing is spawned at all. The words over the
head of a player carrying a jukebox follow the same rule: bystanders read them in
their own colours and line counts while the carrier reads the sidebar.

Fade length and slide come from the preset now, like every other setting, and
are no longer greyed out in the screen: they used to be the jukebox's to set,
because one hologram had to animate one way for the whole crowd.

  • The look stored on a jukebox is gone.** It was the one place where a style
could be put on everybody els
...
### 🔊 Both voice plugins at once

A server with Simple Voice Chat and Plasmo Voice both installed had to pick
one, and CDisc refused to start until it was told which. That was the wrong
question: the two mods' users are different people, so choosing a backend was
choosing which half of the server heard nothing.

Both are now used together. One jukebox is still decoded once, and a source is
opened in every installed voice plugin, so whichever mod a player brought, the
music arrives. voice-backend: auto does this by itself when both are present;
multi asks for it explicitly, and naming simplevoicechat or plasmovoice
still pins it to one.

Players who have *both* mods installed would hear the track twice, a few
milliseconds apart — a flanging smear worse than either feed alone. So each
listener is handed to a single backend and filtered off the others, reworked
once a second as people connect and disconnect their voice mod. Nobody is
filtered off a backend unless another one is already reaching them.

Simple Voice Chat starts later than Plasmo does, on its own startup event, so
it joins a broadcast that may already be playing: anything mid-track gains its
Simple Voice Chat source on the spot, with the distance, speaker settings and
carrier it missed replayed onto it.

The cost is one Opus encode per playing jukebox per voice plugin. The track
itself is decoded once regardless.

### 🎤 Lyrics stopped piling up over the jukebox ([Issue #7](https://github.com/valkdzx/CDisc-Issues/issues/7))

Leave a song playing, walk away, come back, and the words over the jukebox were
there twice. Then three times, then six: a stack of frozen lines from different
points in the track, overlapping into an unreadable block that nothing short of
a restart would take down.

A display entity reports itself invalid the moment the server stops ticking the
chunk it stands in, which is what a jukebox's chunk does as soon as the last
person walks far enough off. The hologram read that as "gone" and put up a
replacement over the top of the one still hanging there — and read it the same
way when the time came to take a hologram down, and so took nothing down. Either
mistake alone leaves one more copy per trip away and back, for as long as the
track keeps going round.

It now asks whether the display has actually been removed rather than whether it
happens to be ticking, takes the old one down before putting any replacement up,
and once a minute looks over the jukeboxes that are playing for words it is no
longer holding on to and clears them. The same mistake was in the words above a
carried jukebox and in the sample shown while a hologram's colours are being
chosen; both go with it.
## 1.8.1-hotfix-1

### 💿 Discs stopped going missing out of jukeboxes

A jukebox's queue lived in memory and nowhere else. The world stores the one
disc physically shown inside the block; the other 41 cells existed only for as
long as the server was up, so a restart — or a crash, or a /reload — deleted
every disc anybody had loaded into a jukebox, with nothing to get them back
from. Nobody watching it happen could have guessed the cause: the discs were
put somewhere the plugin itself displayed them, and they were gone the next
morning. [Issue #6](https://github.com/valkdzx/CDisc-Issues/issues/6)

Queues are written to plugins/CDisc/queues.yml now, next to the file that
already remembered what was playing. They are saved a couple of seconds after
anything changes and again on the way out, and read back the first time
something asks after a jukebox — so a queue comes home when a player walks up
to it, rather than everything at once on startup. A jukebox that was mid-track
picks its queue back up along with its position, without the disc it was
playing turning into two.

Two other ways a disc could disappear are closed with it:

  • A break somebody else refused.** The break handler ran at normal priority
and ignored cancellation, so a protection plugin turning the break down still
left the queue drained, the record cleared, and a jukebox full of the owner's
discs lying on the ground for whoever was standing there. It now runs last
and not at all on a refused break.

  • Queues nobody had emptied.** Every jukebox anyone had ever opened stayed in
memory for the life of the server. Empty ones are let go now, unless somebody
is looking at that jukebox's screens.

### 🔁 And the ways a disc could become two

A hopper under a jukebox empties it — a jukebox has been a container since
1.21 — and only a right-click ever told the queue that its disc had physically
left. The disc went into the hopper and stayed in the queue as well, so
breaking the jukebox afterwards dropped a second one. No timing and no trick
involved: a hopper, a jukebox, and time.

Double-clicking a disc in your own inventory gathers every matching stack in
the window onto the cursor, the queue cells included. That is the one way into
those cells that never arrived as a click on one, so nothing wrote the change
back — the disc left the screen while the queue still held it, and the next
repaint put it back into the cell it had just come out of.

### 🎵 The playlist screen no longer eats discs on a reload

Blank discs handed to the playlist writer are held by the screen rather than
left in the window, because it pages. They were held in memory alone, so a
/reload or a shutdown with that screen open destroyed every one of them: by
the time the player is kicked, the close that hands them back has nobody left
to run it. The screens are shut on the way out now, which returns them the
ordinary way. The discs are also handed over a tick after the window closes
rather than during i
...
[1.8.1] CDisc Music 1.8.1 by valkdzx on Oct 15, 2026
Download
# Changelog

## 1.8.1

### 💾 /cdisc admin download takes what /cdisc create takes

It used to accept a direct link to an audio file and nothing else, which left
the one thing an operator actually wants to keep — the track a player just made
a disc of — as the one thing it could not fetch.

It now takes the same queries disc creation does, and resolves them the same
way, because it is the same call: a **YouTube link** goes straight off YouTube
where that works, through SABR where it does not, and through the backend for
the videos YouTube wants an account for — an age gate is a download like any
other now. A **Spotify link** is matched on its ISRC to the recording the label
uploaded, rather than to whatever a title search ranks first. A **search** shows
the same clickable list, and the line you pick is the file you get. A direct
link to a file is still fetched exactly as it was, name after it and all.

The file is named after the track — Artist - Title — and its extension comes
from what actually arrives, since the same recording is webm off one road and
m4a off another. Live streams are refused: there is no end to download to.

The console can answer a search now as well as start one, since /cdisc admin
runs there and a list you cannot pick from is not an offer. It prints the same
numbered lines and takes /cdisc pick <number>.

A download arrives in about a second rather than in the time the track lasts.
Two things were making it take exactly as long as listening would. The n on a
direct YouTube link was left as it came: an untouched one is not refused on a
media URL the way it is on the streaming endpoint — it is served, at roughly
the speed the track plays at. It is descrambled now, the same as the SABR
endpoint's always was, which also gives playback the headroom it never had. And
the fetch asks for a byte range instead of opening a plain GET, because a
request that names a range is a download to the far end rather than a stream,
and is answered at the speed of the line. A server that will not be asked that
way is fetched the old way instead.

  • The whole admin group runs from the console now, not just doctor and
download: /cdisc reload works from a startup script, a scheduler or a
remote panel without anybody having to log in first. ytsetup is the one
exception — it ends in a clickable link and then waits for the person who
asked to come back with a code, and the console can do neither. Everything
outside admin still needs a player, since it needs a disc in a hand or a
menu on a screen; asked from the console, those now say so and point at what
does work, instead of the bare "Only players can run this." Tab completion
offers the console only what it can actually run.

  • A disc pushed into a jukebox by a hopper no longer plays twice — the custom
track and the vanilla record sound at the same time, over each other.
Suppressing the vanilla sound depends on the jukebox being known as ours
before vanil
...
CDisc Music Icon
Download CDisc Music
Select game version
Select platform