Installing Custom Plugins
Equicord supports any plugin to be built into your Discord, whether they are plugins made by the community, adapted from Vencord or ones you wrote yourself.
Before You Start
Section titled “Before You Start”User plugins require building Equicord from source. If you have not done this yet, follow the Building from Source guide first.
You will also need to understand where plugins live in the project, since putting a plugin in the wrong folder is the most common cause of issues.
Where plugins live
Section titled “Where plugins live”Equicord separates plugins into three folders depending on their purpose:
Directorysrc/
Directoryequicordplugins/ Official Equicord plugins.
- …
Directoryplugins/ Plugins sourced from or based on Vencord.
- …
Directoryuserplugins/ Your private plugins.
- …
Unless you are contributing to Equicord or Vencord, always use src/userplugins/.
Installing a Plugin
Section titled “Installing a Plugin”Create the userplugins folder
Section titled “Create the userplugins folder”This folder does not exist by default. Navigate to src/ inside your Equicord folder and create a new folder named userplugins.
src/userplugins/Add the plugin
Section titled “Add the plugin”Place the plugin inside src/userplugins/. Each plugin must have its own folder, and the entry file must be named index.ts or index.tsx.
Rebuild Equicord
Section titled “Rebuild Equicord”After adding the plugin, rebuild so it gets bundled into Discord:
pnpm buildIf you want to also include developer-only plugins, use:
pnpm build --devRestart Discord
Section titled “Restart Discord”Once the build finishes, restart Discord. Your plugin should now appear in the plugins tab.
Installing Plugins via UserPluginInstaller
Section titled “Installing Plugins via UserPluginInstaller”You can install user plugins straight from Discord with the UserPluginInstaller plugin, no manual cloning or rebuilding required.
Once enabled, any message containing a link to a plugin’s Git repository will show an Install Plugin button underneath it. Clicking it opens a popup with the plugin’s metadata and a few warnings. Review them, and the plugin will be installed.
Updating Equicord & official plugins
Section titled “Updating Equicord & official plugins”Run these three commands inside your Equicord folder:
git fetchgit pullpnpm buildAfter building, you only need to run pnpm inject again if Discord is not already injected. If it was already running, a simple restart of Discord is enough.
Updating user plugins
Section titled “Updating user plugins”Git does not manage your user plugins. To update a user plugin, you need to:
- Download the new version of the plugin manually from its repository or source.
- Replace the old file(s) inside
src/userplugins/with the new ones. - Rebuild Equicord:
pnpm buildTroubleshooting
Section titled “Troubleshooting”If your plugin isn’t showing up, check these first:
- Wrong folder (
equicordplugins,plugins, oruserplugins). - The entry file is not named
index.tsorindex.tsx. - Folder name is not camelCase.
- Equicord was not rebuilt after adding the plugin.
Missing dependencies
Section titled “Missing dependencies”If pnpm build complains about missing packages, run:
pnpm installThen try building again.
Discord not reflecting your build
Section titled “Discord not reflecting your build”If Discord still shows the old version after building, try rebuilding:
pnpm buildIf the issue persists, make sure Discord was fully restarted after the build completed.
Something in your user plugin broke
Section titled “Something in your user plugin broke”Errors that persist after running pnpm install are almost always caused by the plugin itself. A syntax error, a missing file, a broken import or whatever. Read the error message carefully and check the plugin’s source manually.
