pv-addon-discs
This addon for Plasmo Voice works exclusively on Paper servers and allows playing music from various sources directly in Minecraft using music discs. The idea was inspired by AudioPlayer from Simple Voice Chat and the CustomDiscs mod.
Main Features
Instead of storing audio files on the server, the addon streams music directly from the internet. It even supports playing YouTube videos and Twitch streams in real time thanks to the LavaPlayer library.
Installation
- Install the Plasmo Voice, ProtocolLib, and pv-addon-lavaplayer-lib plugins. Plasmo Voice must also be installed on the client
- Download this addon and place it in the
~/pluginsfolder - Restart the server
Commands
/disc burn <url> [name]– Create a disc with custom audio from the specified URL (must hold a music disc in hand)/disc erase– Return a custom disc to its normal state/disc search <query>– Search for tracks on YouTube
Permissions
By default, commands are only available to server operators:
pv.addon.discs.burn– Burn commandpv.addon.discs.erase– Erase commandpv.addon.discs.search– Search command
All players can use custom discs by default with the pv.addon.discs.play permission
Supported Sources
The addon can load audio from:
- YouTube (videos and live streams)
- SoundCloud
- Bandcamp
- Vimeo
- Twitch (live streams)
- Direct HTTP links
Supported File Formats
For direct URL links, the following are supported:
- MP3
- FLAC
- WAV
- Matroska/WebM (AAC, Opus, Vorbis codecs)
- MP4/M4A (AAC codec)
- OGG streams (Opus, Vorbis, FLAC codecs)
- AAC streams
- Playlists (M3U and PLS)
Planned Features
- Copying discs similar to maps
- Custom audio for goat horns
- Compatibility with hoppers