Documentation Index
Fetch the complete documentation index at: https://mintlify.com/lavalink-devs/Lavalink/llms.txt
Use this file to discover all available pages before exploring further.
Frequently Asked Questions
Find answers to the most common questions about Lavalink.General Questions
What is Lavalink?
What is Lavalink?
What is Lavalink used for?
What is Lavalink used for?
- FredBoat
- Dyno
- LewdBot
- And many more
Why should I use Lavalink instead of handling audio directly in my bot?
Why should I use Lavalink instead of handling audio directly in my bot?
- Reduced memory usage: Audio processing happens on a separate server
- Better performance: Optimized for audio streaming
- Scalability: One Lavalink node can serve multiple bots
- No audio libraries needed: Your bot only needs HTTP/WebSocket capabilities
- Cross-platform: Works with bots written in any language
Is Lavalink free to use?
Is Lavalink free to use?
Installation & Setup
How do I install Lavalink?
How do I install Lavalink?
- Binary Installation - Download and run the JAR file (easiest for beginners)
- Docker - Run in a container (recommended for experienced users)
- Systemd - Set up as a Linux service (recommended for production)
What are the system requirements?
What are the system requirements?
- Java: Version 17 LTS or newer (we recommend the latest LTS version)
- RAM: 512MB minimum, 1GB+ recommended
- CPU: Any modern CPU (ARM and x86-64 supported)
- OS: Linux, Windows, or macOS
Which Java version should I use?
Which Java version should I use?
- Azul Zulu (recommended)
- OpenJDK
How much RAM does Lavalink need?
How much RAM does Lavalink need?
- Small bot (< 10 servers): 512MB - 1GB
- Medium bot (10-100 servers): 1GB - 2GB
- Large bot (100+ servers): 2GB - 4GB
- Very large bot (1000+ servers): 4GB - 8GB+
-Xmx flag: java -Xmx2G -jar Lavalink.jarConfiguration
How do I configure Lavalink?
How do I configure Lavalink?
- Configuration File - Using
application.yml(recommended) - Environment Variables - For containerized deployments
Where should I put the configuration file?
Where should I put the configuration file?
application.yml file in the same directory as Lavalink.jar.When you run java -jar Lavalink.jar, it will automatically detect and load the configuration file from the current directory.What's the default password?
What's the default password?
application.yml:What port does Lavalink use?
What port does Lavalink use?
Connecting & Usage
How do I connect my bot to Lavalink?
How do I connect my bot to Lavalink?
- Host (e.g.,
localhostor your server’s IP) - Port (default:
2333) - Password (from your
application.yml)
Can I use one Lavalink instance for multiple bots?
Can I use one Lavalink instance for multiple bots?
Can I run Lavalink on a different server than my bot?
Can I run Lavalink on a different server than my bot?
- The Lavalink port is accessible from your bot’s server
- You use a strong password
- Consider using a firewall or VPN for security
Does Lavalink support YouTube?
Does Lavalink support YouTube?
Maintenance & Updates
How do I update Lavalink?
How do I update Lavalink?
- Download the latest
Lavalink.jarfrom GitHub releases - Stop your current Lavalink instance
- Replace the old JAR file with the new one
- Start Lavalink again
How do I run Lavalink in the background?
How do I run Lavalink in the background?
- Screen/tmux - Terminal multiplexers (quick and easy)
- Systemd - Linux service (recommended for production)
- Docker - Container with restart policies (recommended for containers)
How do I check my Lavalink version?
How do I check my Lavalink version?
Will updating Lavalink break my bot?
Will updating Lavalink break my bot?
- Patch updates (4.0.0 → 4.0.1): Bug fixes, always safe
- Minor updates (4.0.0 → 4.1.0): New features, backward compatible
- Major updates (4.0.0 → 5.0.0): Breaking changes, may require code updates
Troubleshooting
Lavalink won't start. What should I do?
Lavalink won't start. What should I do?
- Java version: Ensure you have Java 17 or higher installed
- Port in use: Check if port 2333 is already being used
- Configuration errors: Validate your
application.ymlsyntax - Missing files: Verify
Lavalink.jaris present and not corrupted
My bot can't connect to Lavalink. Help!
My bot can't connect to Lavalink. Help!
- Lavalink is running: Verify the process is active
- Correct credentials: Host, port, and password match your configuration
- Network connectivity: Ensure there are no firewall rules blocking the connection
- Client library: Make sure you’re using an up-to-date client library
Audio isn't playing. What's wrong?
Audio isn't playing. What's wrong?
- Voice connection: Ensure you’re properly forwarding
sessionId,token, andendpointfrom Discord - Bot permissions: Verify your bot has CONNECT and SPEAK permissions
- Volume: Check that volume isn’t set to 0
- Source issues: Try a different audio source to isolate the problem
Where can I get more help?
Where can I get more help?
- Troubleshooting Guide - Comprehensive troubleshooting steps
- Discord Support - Join the Lavalink support Discord
- GitHub Discussions - Ask questions and share knowledge
- Issue Tracker - Report bugs
Advanced Topics
Can I extend Lavalink with plugins?
Can I extend Lavalink with plugins?
- Install existing plugins from the community
- Create your own custom plugins
- Add new audio sources
- Extend functionality
Does Lavalink support load balancing?
Does Lavalink support load balancing?
/stats endpoint to help you balance load effectively.Can I use Lavalink with Prometheus?
Can I use Lavalink with Prometheus?
application.yml:http://localhost:2333/metrics.What is DAVE support?
What is DAVE support?