Plugins extend Discord’s functionality with new features. This guide covers everything you need to know about managing your installed plugins.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/betterdiscord/betterdiscord/llms.txt
Use this file to discover all available pages before exploring further.
Accessing plugin settings
To manage your plugins:- Open Discord settings (click the gear icon)
- Scroll down to the BetterDiscord section
- Click on Plugins
Enabling and disabling plugins
Find the plugin
In the Plugins tab, browse your installed plugins. Each plugin shows:
- Plugin name and version
- Author information
- Description
- Enable/disable toggle
Configuring plugins
Many plugins offer customizable settings:- Find the plugin in the Plugins tab
- Click the Settings icon (gear icon) next to the plugin
- Adjust the plugin’s settings as needed
- Changes are usually applied immediately
Not all plugins have settings panels. If a plugin doesn’t have a settings icon, it means the plugin doesn’t offer user-configurable options.
Plugin actions
Each plugin has several actions available via the context menu (three dots icon):Reload plugin
Reloads the plugin without restarting Discord. Useful when:- The plugin isn’t working correctly
- You’ve edited the plugin file
- You want to apply updates
Edit plugin
Opens the plugin file for editing. You can choose how to edit:- System editor - Opens in your default text editor
- Detached window - Opens in BetterDiscord’s built-in editor
- External editor - Opens in BetterDiscord’s web-based editor (if available)
Delete plugin
Permanently removes the plugin file from your plugins folder.Bulk actions
You can perform actions on all plugins at once:- Enable All - Enables all installed plugins
- Disable All - Disables all running plugins
- Reload All - Reloads all enabled plugins
Understanding plugin states
Plugins can be in different states:Enabled and running
The plugin is active and its features are available. The toggle is green.Disabled
The plugin is installed but not running. The toggle is gray.Partially loaded (error)
The plugin failed to load properly due to an error. You’ll see:- A red error indicator
- An error message describing the issue
- The plugin cannot be enabled until the error is resolved
Partially loaded plugins remain in your plugins list so you can view the error, edit the file, or delete it.
Plugin lifecycle
When you enable a plugin, BetterDiscord:- Loads the plugin file and validates it
- Initializes the plugin by calling its constructor
- Calls the plugin’s
load()method (if it exists) - Starts the plugin by calling its
start()method
- Stops the plugin by calling its
stop()method - Cleans up any resources the plugin was using
All plugins must implement
start() and stop() methods to be considered valid.Plugin updates
BetterDiscord automatically detects changes to plugin files:- When a plugin file is modified, it’s automatically reloaded
- You’ll see a toast notification when a plugin is updated
- If the update causes an error, the plugin will be disabled
Plugin requirements
For a plugin to work properly, it must:- Have a valid JSDoc metadata block with
@name,@author,@description, and@version - Export a function or class
- Implement
start()andstop()methods - Use valid JavaScript syntax
Advanced features
Observer function
Plugins can implement anobserver() method to watch for DOM changes in Discord. This allows plugins to react to page updates.
Switch function
Plugins can implement anonSwitch() method to react when users navigate between channels or servers.
Settings panel
Plugins can implement agetSettingsPanel() method to provide a custom settings interface.
Troubleshooting plugins
If a plugin isn’t working:- Check if it’s enabled - Look for the green toggle
- Check for errors - Look for error messages in the plugin list
- Try reloading - Use the reload action from the context menu
- Check compatibility - Ensure the plugin works with your Discord version
- Disable other plugins - Test if another plugin is causing conflicts