Lavalink
Lavalink v4 setup, plugins, tuning and troubleshooting for Discord music bots.
-
Lavalink Plans Compared: Starter to Enterprise
A side-by-side guide to Kerit Cloud's managed and self-managed Lavalink plans — resources, plugins, support and uptime — and how to match a plan to your bot's load.
-
Why Free Public Lavalink Nodes Keep Breaking Your Bot
Free public Lavalink nodes look like an easy start, but overload, downtime, shared passwords and stale plugins make them unreliable. Why it happens and what to use instead.
-
The Lyrics and LavaSearch Plugins Explained
What the Lyrics and LavaSearch plugins add to Lavalink — synced lyrics for the current track and rich multi-type search — how they work and how to use them from your bot.
-
Running Lavalink in Docker With Docker Compose
Run Lavalink v4 in Docker with Docker Compose — the official image, mounting application.yml and plugins, memory flags, networking with your bot and safe updates.
-
Monitoring Lavalink With Prometheus and Grafana
Monitor a Lavalink node properly — enabling Prometheus metrics, scraping them securely, building a Grafana dashboard and alerting on frame deficits, CPU and memory.
-
JVM Tuning for Lavalink: Heap Size and Garbage Collectors
Tune the Java runtime for Lavalink — choosing heap size, picking G1 or generational ZGC, container-aware flags, GC logging and spotting pauses that cause stutter.
-
Troubleshooting Lavalink: Common Errors and Fixes
Fix the most common Lavalink problems — connection refused, 401s, silent players, track exceptions, stuck tracks, stuttering, out-of-memory errors and startup failures.
-
Running Multiple Lavalink Nodes and Balancing Load
Why and how to run several Lavalink nodes — capacity, failover and regions — with node selection, penalties, moving players between nodes and keeping configs in sync.
-
Choosing a Lavalink Region for the Lowest Audio Latency
Where to place your Lavalink node for the best-sounding music — how Discord voice regions work, why the node belongs near listeners, and strategies for global bots.
-
How Much RAM Does Lavalink Need?
What drives Lavalink's memory and CPU use, realistic sizing by concurrent players, how to size the JVM heap, and how to read the node's stats before you upgrade.
-
Lavalink Audio Filters: Bass Boost, Nightcore, 8D and More
How Lavalink v4 audio filters work — equalizer, timescale, rotation, karaoke, tremolo and more — with ready-to-use presets and code for Shoukaku and Wavelink.
-
SponsorBlock for Lavalink: Skip Sponsors Automatically
Use the SponsorBlock plugin to skip sponsor reads, intros and other segments in YouTube tracks — installation, categories per player, events and client examples.
-
The YouTube Source Plugin: Why YouTube Left Lavalink Core
Why Lavalink v4 moved YouTube into a separate plugin, how to install and configure it, the errors you'll meet, and how to keep YouTube playback working.
-
LavaSrc: Spotify, Apple Music and Deezer Through Lavalink
How the LavaSrc plugin lets Lavalink handle Spotify, Apple Music, Deezer and more — mirroring explained, configuration, search prefixes, credentials and troubleshooting.
-
Connecting a discord.py Bot to Lavalink With Wavelink
Build a discord.py music bot on Lavalink v4 with Wavelink 3 — connecting nodes, a /play command with a queue, controls, events, autoplay and common fixes.
-
Connecting a discord.js Bot to Lavalink With Shoukaku
Connect a discord.js v14 bot to a Lavalink v4 node with Shoukaku — node setup, joining voice, resolving tracks, a simple queue, events and handling disconnects.
-
Lavalink application.yml Explained Line by Line
Every important setting in Lavalink v4's application.yml explained — server, password, sources, buffers, encoding quality, plugins, rate limiting, metrics and logging.
-
Setting Up Lavalink v4 on a Server From Scratch
Install Lavalink v4 on a Linux server step by step — Java 17, the JAR, a working application.yml, the YouTube plugin, a systemd service, firewall rules and testing.
-
Managed vs Self-Managed Lavalink: Which Should You Choose?
Compare managed and self-managed Lavalink hosting — setup, control, plugins, maintenance, cost and who each suits — to decide which is right for your music bot.
-
What Is Lavalink? A Beginner's Guide for Discord Music Bots
What Lavalink is, how it works with your Discord bot, why almost every serious music bot uses it, and the options for running a node — explained from scratch.