mirror of
https://github.com/SPAWNRYS-ban/FUCK-CustomDiscs.git
synced 2025-12-10 13:30:24 +05:00
8d97c89cbb1f678aa97448b45b0a02cf5d891f10
Custom Discs v2.4 for Paper 1.20.2
A Paper fork of henkelmax's Audio Player.
- Play custom music discs using the Simple Voice Chat API. (The voice chat mod is required on the client and server.)
- Use
/customdiscor/cdto view available commands. - Music files should go into
plugins/CustomDiscs/musicdata/ - Music files must be in the
.wav,.flac, or.mp3format.
Downloading Files:
- To download a file use the command
/cd download <url> <filename.extension>. The link used to download a file must be a direct link (meaning the file must automatically begin downloading when accessing the link). Files must have the correct extension specified. An UnsupportedAudioFileException will be thrown in the server's console if the file extension is not correct (for example when giving a wav file the mp3 extension). Below is an example of how to use the command and a link to get direct downloads from Google Drive. - Example:
/cd download https://example.com/mysong "mysong.mp3" - Direct Google Drive links: https://lonedev6.github.io/gddl/
Permission Nodes (Required to run the commands. Playing discs does not require a permission.):
customdiscs.createto create a disccustomdiscs.downloadto download a file
Dependencies:
- This plugin depends on the latest version of ProtocolLib for 1.20.x and SimpleVoiceChatBukkit version 2.4.25.
Default Config:
# [Music Disc Config]
# The distance from which music discs can be heard in blocks.
music-disc-distance: 16
# The master volume of music discs from 0-1. (You can set values like 0.5 for 50% volume).
music-disc-volume: 1
#The maximum download size in megabytes.
max-download-size: 50
Description
Languages
Java
100%