
AudioPlayer to CustomDiscs
A Paper plugin to convert AudioPlayer custom items (music discs, goat horns and player heads) to be playable with CustomDiscs.
- Загрузки
- 900
- Подписчики
- 8
- Обновлён
- 7 июня 2026 г.
- Лицензия
- MIT
Опубликован 20 октября 2025 г.
AudioPlayer To CustomDiscs v1.2.2
For Paper, Folia and Forks (Purpur, Leaf, ...)
1.21.7 to 26.1.2
⚠️ Dependency notice — PacketEvents required
Since version 1.1.5, PacketEvents (v2.11.2+) is required.
ProtocolLib is no longer used — it can be safely removed if no other plugin needs it.
⚠️ Java 25 required
Starting with version 1.2.0, this plugin requires at least Java 25 to run on your server.
A Paper based plugin to convert AudioPlayer instruments into a CustomDiscs compatible format.
Any Paper's forks should be supported. In case of issues, reach us on our Discord server.
Useful if you need to play a custom music disc, goat horn or player head initially created with AudioPlayer, then ported to a CustomDiscs-compliant server.
No permission system is in place for now (unless requested).
Join our Discord for support: https://discord.gg/rJtBRmRFCr
Dependencies
| Plugin | Required | Notes |
|---|---|---|
| PacketEvents | ✅ Required | Since v1.1.5 — tested with v2.11.2 |
| ProtocolLib | ⛔ Up to v1.1.4 only | No longer required as of v1.1.5 |
How to Use
This plugin works in two modes: automatic and manual.
Prerequisite — Audio Files
This plugin checks whether a corresponding audio file exists (by its ID) before converting. Ensure the following:
- Original AudioPlayer music files from
audio_player_data/must be placed inplugins/CustomDiscs/musicdata/ - Failure to provide those files will cause the conversion to fail, without modifying the original item
Automatic Mode
Enable it by setting automaticConvert: true in config.yml:
- Goat horns — converted on first use attempt. A second attempt will play it.
- Custom discs — converted when inserted by a player or any automated mechanism.
- Player heads — converted instantly on placement. When already placed on a note block, one or two triggers may be needed before playback.
Manual Mode
Works regardless of whether automatic mode is enabled.
Hold the item in your main hand only, then run:
/ap2cd convert
Audio File Type Override
If multiple file extensions exist for the same audio ID, the wrong one may be selected.
While holding the item in your main hand, use one of the following:
| Command | Effect |
|---|---|
/ap2cd setwav |
Force set to WAV format |
/ap2cd setmp3 |
Force set to MP3 format |
/ap2cd setflac |
Force set to FLAC format |
Configuration
config.yml
# [AP2CD Config]
# Disable or enable the automatic conversion process while items are being used.
automaticConvert: false
# Debug Mode - To display some more logging and Stack Trace information.
# You SHOULD NOT turn this on, unless you want to be spammed by a lot of messages (console and player side).
debugMode: false
Version Support Matrix
| Minecraft version | Paper & Forks (Purpur, Leaf, ...) | Folia & Forks |
|---|---|---|
| 1.21.7-9, 1.21.8 | 1.0.0 – 1.2.2 | 1.0.0 – 1.2.2 |
| 1.21.9, 1.21.10 | 1.0.0 – 1.2.2 | 1.0.0 – 1.2.2 |
| 1.21.11 | 1.1.1 – 1.2.2 | 1.1.1 – 1.2.2 |
| 26.1, 26.1.1, 26.1.2 | 1.2.2 | 1.2.2 |
Notes
- This plugin may (or may not) work with earlier versions of PaperMC/Folia.
- While this plugin is marked as compatible with Paper's forks, no extensive tests has been made on them. Report any issues on our Discord !
- Versions 1.1.0 to 1.1.4 required ProtocolLib. As of 1.1.5, it is no longer needed and is replaced by PacketEvents.
- This plugin is available on both Modrinth and Hangar.
Ченджлог
1.2.2Релиз26.1.1, 26.1.2, 26.2 · 7 июня 2026 г.
(Fast) Release version 1.2.2
New features :
- Port config.yml migrator in this plugin
- Port "UpdateChecker" in this plugin
1.2.1Релиз26.1.1, 26.1.2, 26.2 · 7 июня 2026 г.
Release version 1.2.1
General and Bug fixes :
- Better handle the original lore of the item on conversion (until now, most of the time it was overwritten without trying to get it from the original item).
- Little code cleanup (remove "Nullable" not needed :D )
New features :
- Add "PluginUpdater" support
Bump deps versions :
- Gradle to 9.5.1
- Shadow to 9.4.2
1.2.0Релиз26.1, 26.1.1, 26.1.2 · 22 апреля 2026 г.
- Officially support PaperMC forks now (even if it was already working on them with prior releases :P )
- Update to Java 25
- Update Gradle to 9.4.1
- Update Shadow to 9.4.1
- Update Paperweight Userdev to beta.21
- Update PacketEvents API to 2.12.1
- Update CommandAPI to 11.2.0
1.1.6Релиз1.21.9, 1.21.10, 1.21.11 · 24 марта 2026 г.
- Fix a little bug in the AutoConvertJukeBox where it applied the Tooltip Display to all discs even vanilla discs.
- Also fix the building process (version wasn't "updated" on release 1.1.5)
1.1.5Релиз1.21.9, 1.21.10, 1.21.11 · 11 марта 2026 г.
This release is meant to align with the next release of CustomDiscs 5.2.0 which will use PacketEvents !
Changelog :
- Update Gradle Shadow to 9.3.2
- Remove ProtocolLib as dependency
- Add PacketEvents as dependency (replacing ProtocolLib)
- Fixed a little bogus code missed in previous releases.
1.1.4Релиз1.21.9, 1.21.10, 1.21.11 · 15 февраля 2026 г.
Update 1.1.4
- Add Discord invite link inside the plugin help message.
- No other change on that release.
1.1.3Релиз1.21.9, 1.21.10, 1.21.11 · 30 января 2026 г.
Update 1.1.3
- Add default mob heads/skulls to the allowed convertible list
- Update Gradle Shadow to release 9.3.1
For the default mob heads/skulls to actually play, an update for CustomDiscs will be needed (version not yet released, planned for v5.1.5 soon)
1.1.2Релиз1.21.9, 1.21.10, 1.21.11 · 16 декабря 2025 г.
- Update CommandAPI to stable release 11.1.0
Комментарии
Загружаем…