Skip to main content
Version: v3.0.0 (current)

Lavalink plugins and SonaraHQ alternatives

Lavalink plays SoundCloud, Bandcamp, Vimeo, Twitch streams, HTTP URLs and local files itself. YouTube needs the youtube-source plugin, and other sources, recommendations and lyrics come from Lavalink plugins too. Each page of these docs names the plugin a feature needs, for example the LavaSrc plugin for Spotify search.

Partner

SonaraHQ is made by the MagmaStream maintainers, and we recommend it. SonaLink is a Lavalink fork that runs on SonaPlayer, our Lavaplayer fork, and SonaraSrc does the job of LavaSrc. They carry fixes that have not landed upstream:

  • No delay builds up in Discord clients after pauses, skips and gaps between tracks.
  • Marker handlers learn about every seek, and HTTP 308 redirects, partial responses and Ogg files with several streams play correctly.
  • Spotify uses the official Web API, a failing lyrics source falls through to the next one, and logins stay out of the logs.

MagmaStream connects to SonaLink as it does to Lavalink, so trying it needs no code changes, and upstream Lavalink keeps working too. SonaraHQ is for Lavalink only: NodeLink does not load Lavalink plugins and has its own sources, lyrics and SponsorBlock support (NodeLink setup).

Mapping​

UpstreamSonaraHQ alternativeWhat it changes or addsInstallRuns on
Lavalink serverSonaLinkFork of Lavalink 4.2.2 with the same v4 REST and WebSocket API and the same plugin API. Pauses, skips and gaps between tracks no longer build up delay in Discord clients. Sends the speaking stop signal to Discord again. Runs on SonaPlayer since 1.1.0.SonaLink.jar from the releases, or Docker image ghcr.io/sonarahq/sonalink:1Its own server (Java 25 or newer)
LavaSrc pluginSonaraSrcFork of PulseLink, which is based on LavaSrc. Spotify uses the official Web API, and playlists (including Spotify-made ones), recommendations and lyrics use your own Sonara-API. Lyrics sources for Spotify, Deezer, LRCLIB, Genius, YouTube Music, Yandex Music and VK Music. Logins in configured URLs go out as headers and stay out of the logs.com.github.SonaraHQ:SonaraSrc:1.1.2 from https://jitpack.ioLavalink 4 and SonaLink
LavaLyrics lyrics sources (through LavaSrc)Lyrics sources of SonaraSrcSonaraSrc bundles a LavaLyrics build in which a failing source no longer fails the whole lookup: the next source is asked. Live lyrics keep working after a backwards seek. You still install the LavaLyrics plugin.Same as SonaraSrc, next to the LavaLyrics pluginLavalink 4 and SonaLink
LavaplayerSonaPlayerFork of Lavaplayer 2.2.7 with fixes still waiting upstream: marker handlers learn about every seek, HTTP 308 redirects work, partial responses no longer cut tracks short, Ogg files with several streams play, untagged local files use their file name as the title.Bundled in SonaLink 1.1.0 and newer. For JVM projects: com.github.SonaraHQ.SonaPlayer:lavaplayer:1.0.0 from https://jitpack.ioSonaLink, or any JVM project
A Spotify token or resolver serverSonara-APISelf-hosted Spotify resolver for playlists (up to 10,000 tracks), albums, artist top tracks, search, recommendations and lyrics, with an anonymous token endpoint. Responses follow the Spotify Web API format. SonaraSrc needs it for Spotify playlists, recommendations and lyrics.Docker image ghcr.io/sonarahq/sonara-api:latest, or from source with Node.js 24 or newerIts own server, next to Lavalink

What each plugin unlocks in MagmaStream​

MagmaStream featureUpstream requirementSonaraHQ alternative
Search platforms Apple Music, Deezer, Qobuz, Spotify, Tidal, VK Music and Yandex MusicLavaSrc pluginSonaraSrc
Search platform JioSaavnJioSaavn pluginSonaraSrc (jssearch:)
Autoplay from Spotify (sprec:mix:track:), Deezer (dzrec:), Tidal (tdrec:), VK Music (vkrec:), Qobuz (qbrec:), Yandex Music (ymrec:)LavaSrc pluginSonaraSrc
Autoplay from JioSaavn (jsrec:)A JioSaavn source with jsrecSonaraSrc
Lyrics on LavalinkLavaLyrics plugin, plus a plugin that gives it lyrics sources, such as LavaSrcLavaLyrics plugin, with SonaraSrc as the lyrics source plugin
The Lavalink serverLavalink v4SonaLink

MagmaStream checks the plugin names of a Lavalink node in only a few places: lyrics need lavalyrics-plugin, SponsorBlock needs sponsorblock-plugin, and plugin filters look for lavadspx-plugin unless you name other plugins. A search or autoplay source is not checked by name, so a node with SonaraSrc serves the prefixes above as a node with LavaSrc does.

SonaraHQ has no alternative to these plugins. Keep the upstream plugin:

Install SonaraSrc​

Add SonaraSrc to the application.yml of your Lavalink or SonaLink server, and configure it under plugins.sonara:

lavalink:
plugins:
- dependency: "com.github.SonaraHQ:SonaraSrc:1.1.2"
repository: "https://jitpack.io"
warning

Do not load SonaraSrc together with LavaSrc or PulseLink. They register the same sources and Lavalink fails to start. When you switch, also delete their old jars from the plugins/ folder of Lavalink.

The SonaraSrc README lists every source, its credentials and the full configuration in application.example.yml. For Spotify, host your own Sonara-API: there is no public instance.

SonaLink keeps the Lavalink v4 API, so MagmaStream connects to it as to a Lavalink node: no option changes. SonaLink removes the deprecated top-level encodedTrack and identifier fields of the player update request. MagmaStream sends track.encoded, so it is not affected.

docker run -d -p 2333:2333 -v ./application.yml:/opt/Lavalink/application.yml ghcr.io/sonarahq/sonalink:1

The Lavalink documentation covers the server configuration. Read the SonaLink README for its requirements and every change from Lavalink.