
Melody
OpenAL-based library mod for playing background music.
About this Mod
IMPORTANT
This mod is a LIBRARY mod.
It will do nothing on its own and its only purpose is to act as a dependency for other mods that use its features.
About
Melody is an OpenAL-based client-side library mod for playing background music.
It allows you to use OpenAL in Minecraft separated from Minecraft's sound engine and manager.
Melody allows you to (asynchronously) load audio files from all kinds of sources, including web sources.
It has built-in support for OGG and WAV audio files, but there's nothing stopping you from extending it to support more file types!
Since Melody was made for easily playing music in menus or in-world, it can't play directional sounds (sounds with a fixed origin in a 3D environment). It can only play 2D audio, so basically music.
To get an idea of how to create ready-to-play audio sources, take a look at Melody's SimpleAudioFactory class!
Everything important is documented in the source, so make sure to take a look at Melody's source on GitHub!
Copyright & Licensing
Melody Copyright © 2023-2025 Keksuccino.
Melody is licensed under MIT.
Server Needed?
Looking to play Minecraft with friends but setting up a server is just too time-consuming?
No worries! Simply rent a pre-configured server and start playing in a snap.
Just click the image below and use code **** to enjoy a 25% discount on your first month! You can also click the code itself if your ad blocker hides the banner.
Available Versions
How to Install Melody on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (26.2).
Install Mod
Open the mod browser in the dashboard and search for "Melody". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
26.2, 26.1.2, 26.1.1 (+18 more)
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Melody server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.2). You can switch loaders with one click in the panel.
Is Melody compatible with fabric and forge and neoforge?
Melody officially supports fabric, forge, neoforge for Minecraft 26.2, 26.1.2, 26.1.1. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Melody – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Melody consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Melody with just one click on your server.