Перейти к содержимому
Mineforgian

CustomDiscs SVC

CustomDiscs (Simple Voice Chat) is a plugin that lets you play custom music in Minecraft using jukeboxes and discs.

Загрузки
53K
Подписчики
178
Обновлён
23 мая 2026 г.
Лицензия
All-Rights-Reserved

Опубликован 6 марта 2024 г.

Custom Discs

The Simple Voice Chat and PacketEvents required!

It is designed to help server owners create a specific atmosphere or let players listen to their favorite tracks in-game.

Features:

  • Local Files: Play music files stored directly on your server.
  • YouTube & SoundCloud: Stream audio directly from links without downloading files manually.

Configuration

# CustomDiscs Configuration
# Join our Discord for support: https://discord.gg/eRvwvmEXWz
info:
  # Don't change this value
  version: '1.4'
global:
  # Language of the plugin
  # Supported: ru_RU, en_US
  # Unknown languages will be replaced with en_US
  locale: en_US
  debug: false
command:
  download:
    # The maximum download size in megabytes.
    max-size: 50
  create:
    local:
      custom-model: 0
    remote:
      # tabcomplete — Displaying hints when entering remote command
      # filter — Filter for applying custom-model-data to remote disk
      tabcomplete:
        - https://www.youtube.com/watch?v=
        - https://soundcloud.com/
      youtube:
        custom-model: 0
        filter:
          - https://www.youtube.com/watch?v=
          - https://youtu.be/
      soundcloud:
        custom-model: 0
        filter:
          - https://soundcloud.com/
  distance:
    max: 64
disc:
  # The distance from which music discs can be heard in blocks.
  distance: 64
  # The master volume of music discs from 0-1.
  # You can set values like 0.5 for 50% volume.
  volume: '1.0'
  allow-hoppers: true
providers:
  youtube:
    # This may help if the plugin is not working properly.
    # When you first play the disc after the server starts, you will see an authorization request in the console. Use a secondary account for security purposes.
    use-oauth2: false
    # If you have oauth2 enabled, leave these fields blank.
    # This may help if the plugin is not working properly.
    # https://github.com/lavalink-devs/youtube-source?tab=readme-ov-file#using-a-potoken
    po-token:
      token: ''
      visitor-data: ''
    # A method for obtaining streaming via a remote server that emulates a web client.
    # Make sure Oauth2 was enabled!
    # https://github.com/lavalink-devs/youtube-source?tab=readme-ov-file#using-a-remote-cipher-server
    remote-server:
      url: ''
      password: ''

Commands

/cd help: Shows command help
/cd reload: Reloads configuration files.
/cd download "<direct link>" <name.extension>: Downloads music file from URL.
/cd create <local|remote>: Creates music disc.
/cd distance <radius>: Sets the radius for the jukebox.
Some agruments must be written in double quotes "string"

Ченджлог

2.6.0Релиз26.1, 26.1.1, 26.1.2 · 23 мая 2026 г.

2.6.0

Changed

  • Completely removed the CommandAPI dependency. The plugin's command architecture has been refactored to use the native Paper Brigadier CLI.
  • Optimized the dynamic permission verification system for both root commands and subcommands.

Compatibility

  • Confirmed compatibility with Minecraft 26.1.2.

Dependencies

  • youtube-source 1.18.0 → 1.18.1
2.5.2Релиз1.21.9, 1.21.10, 1.21.11 · 18 апреля 2026 г.

2.5.2

Added

  • HTTP/HTTPS proxy support for LavaPlayer (only YouTube yet) via providers.youtube.http-proxy in config.yml
    • Format: [scheme://][user:pass@]host:port
    • Supports basic auth and both http:// and https:// proxy schemes

Fixed

  • Server no longer lags on startup when LavaPlayerManagerImpl initializes — all registrations (YouTube, SoundCloud, proxy setup) now happen asynchronously; disc playback waits for initialization to complete before starting
  • data.yml was being rewritten on every autosave tick even when nothing changed — introduced a dirty flag so the file is only saved when data has actually been modified
  • data.yml was not saved on plugin shutdown
  • allow-hoppers config option is now true by default

Security

  • DownloadSubCommand: reject URLs with non-http/https schemes (e.g. file://, jar://) to prevent local file read via download command
  • DownloadSubCommand: replaced contains("../") filename check with Path.normalize() boundary validation to properly block all path traversal variants
  • HTTPRequestUtils: reject non-http/https schemes in all outgoing HTTP requests
  • LegacyUtil: validate LOCAL_DISC PDC value on read to prevent path traversal via NBT-edited disc items

Language

  • Added error.command.invalid-url key to en_US and ru_RU
  • Removed unused key error.play.no-permission from both locales
  • Removed unused key error.command.no-youtube-support from en_US

Dependencies

  • commandapi 11.1.0 → 11.2.0
  • packetevents 2.11.2 → 2.12.0
  • shadow (Gradle plugin) 9.4.0 → 9.4.1
2.5.1Релиз1.21.9, 1.21.10, 1.21.11 · 24 марта 2026 г.
  • Some changes
  • Update libraries
  • Switch to PacketEvents from ProtocolLib
2.5.0Релиз1.21.9, 1.21.10, 1.21.11 · 23 февраля 2026 г.
  • Added more YouTube clients to prevent decoding issues.
  • Updated LavaPlayer.
  • The plugin now features its own API.
  • Improved overall stability.
  • Fixed a language backup issue on Windows.
  • Resolved a rare issue where LavaPlayerManagerImpl threads could cause infinite CPU load.
  • Dependencies are now resolved via the deps.json JAR resource.
  • Restricted customdiscs.download permission to OP players by default.
  • Fixed several concurrency issues within LavaPlayerManagerImpl.
  • Migrated to SLF4J logger instead of component logger.
2.4.2Релиз1.21.9, 1.21.10, 1.21.11 · 5 января 2026 г.
  • Fix remote disc create permission error
2.4.1Релиз1.21.9, 1.21.10, 1.21.11 · 2 января 2026 г.
  • Force CustomDiscs load after dependencies
2.4.0Релиз1.21.9, 1.21.10, 1.21.11 · 28 декабря 2025 г.

Features & Improvements

  • Migrated local file playback to Lavaplayer.
  • Implemented Paper Library Loader for more efficient dependency resolution.
  • Improved cipher password validation for better security.
  • Added additional anti-dupe checks.

Build & Internal

  • Updated dependencies and build system.
  • Renamed package group from io.github.subkek to space.subkek.
  • Fixed an unnecessary debug key in the configuration.

Deprecations & Removals

  • Dropped support for non-Paper servers (e.g., Spigot, Bukkit).
  • Removed Italian language support (zero active users according to bStats).
2.3.0Релиз1.21.9, 1.21.10, 1.21.11 · 25 декабря 2025 г.

P.S If the server freezes when you first launch this version, don't worry, the plugin is downloading libraries (I forgot to add the log).

  • Add support for 1.21.11
  • Automatic library download (lavaplayer-lib is no longer required)
  • Dependency updates
  • Command refactoring
  • Permission system refactor (⚠️ replace old permissions with the new ones)
  • Configuration update

Комментарии

Загружаем…