Installation Methods
There are two ways to install plugins in Lavalink:Method 1: Automatic Download (Recommended)
Configure plugins in yourapplication.yml file to have Lavalink download them automatically on startup.
Plugins are downloaded once and cached in the plugins directory. They won’t be re-downloaded on subsequent restarts unless the version changes.
Method 2: Manual Installation
Download and place plugin.jar files manually in the plugins directory.
Create plugins directory
Create a
plugins directory in the same location as your Lavalink.jar file if it doesn’t exist:Download plugin JAR files
Download the plugin
.jar files from their respective repositories or release pagesAdvanced Configuration
Using Custom Repositories
If a plugin is hosted on a custom Maven repository, specify it in the configuration:Using Snapshot Versions
For development or testing with snapshot builds:Changing Default Repositories
Override the default Maven repositories used for all plugins:Custom Plugin Directory
Change where Lavalink stores and loads plugins:Plugin Configuration
Many plugins have their own configuration options. Add plugin-specific settings in yourapplication.yml:
Refer to each plugin’s documentation for available configuration options. Most plugins have their configuration documented in their GitHub repository README.
Verifying Plugin Installation
When Lavalink starts, it logs information about loaded plugins:Updating Plugins
Automatic Method
Update the version number in yourapplication.yml:
Manual Method
- Delete the old plugin
.jarfile from thepluginsdirectory - Download the new version and place it in the
pluginsdirectory - Restart Lavalink
Removing Plugins
Automatic Method
Remove the plugin entry from yourapplication.yml:
.jar file from the plugins directory for cleanup.
Manual Method
- Delete the plugin
.jarfile from thepluginsdirectory - Restart Lavalink
Troubleshooting
Plugin not loading
Plugin not loading
- Verify the
.jarfile is in the correctpluginsdirectory - Check the Lavalink logs for error messages
- Ensure the plugin is compatible with your Lavalink version
- Verify the dependency coordinates are correct (for automatic download)
Version conflicts
Version conflicts
- Ensure all plugins are compatible with your Lavalink version
- Check for conflicting dependencies between plugins
- Update or downgrade plugins as needed
Download failures
Download failures
- Verify your internet connection
- Check if the repository URL is correct and accessible
- Ensure the dependency coordinates (group:artifact:version) are correct
- Check Lavalink logs for specific error messages
Configuration not applied
Configuration not applied
- Verify your YAML syntax is correct (indentation matters!)
- Check the plugin’s documentation for the correct configuration format
- Ensure you’ve restarted Lavalink after making configuration changes
Best Practices
Use Automatic Download
Prefer automatic download over manual installation for easier version management
Pin Versions
Always specify exact version numbers to ensure consistent deployments
Test Updates
Test plugin updates in a development environment before updating production
Monitor Logs
Check Lavalink logs during startup to verify plugins load correctly
Next Steps
Browse Available Plugins
Explore the list of available plugins and their features