Basic Plugin Setup
Equicord uses the same plugin system as Vencord, which means you can develop entirely new plugins from scratch or adapt existing ones.
Creating Your First Plugin
Section titled “Creating Your First Plugin”Directorysrc/
Directoryequicordplugins/ For Equicord plugins
- …
Directoryuserplugins/ For personal plugins
- …
Create a new folder using camelCase
Section titled “Create a new folder using camelCase”Directorysrc/userplugins/
DirectorymyFirstPlugin/ Valid (camelCase)
- …
DirectoryMyFirstPlugin/ Invalid (pascalCase)
- …
Directorymy-first-plugin/ Invalid (hyphen/spaces)
- …
Add an index.ts file
Section titled “Add an index.ts file”Each plugin must have its own folder and the entry file must be named index.ts or index.tsx.
src/userplugins/myFirstPlugin/index.tsPlugin Boilerplate
Section titled “Plugin Boilerplate”Inside index.ts, define your plugin using definePlugin. Which boilerplate you use depends on where your plugin will live.
If this is your first time contributing an Equicord plugin, you must first add yourself to the EquicordDevs object. Go to /src/utils/constants.ts, add your entry, and then reference it in the authors field.
import { EquicordDevs } from "@utils/constants";import definePlugin from "@utils/types";
export default definePlugin({ name: "MyCoolPlugin", description: "I am very cool!", authors: [EquicordDevs.YourName],});Use this format for plugins inside equicordplugins/.
For user plugins, you don’t need to register yourself in EquicordDevs. Just provide your information directly as a plain object.
import definePlugin from "@utils/types";
export default definePlugin({ name: "MyCoolPlugin", description: "I am very cool!", authors: [{ name: "Your Name", id: 1234567890n }],});Use this format for plugins inside userplugins/.
Guidelines
Section titled “Guidelines”nameshould be short, clear, and unique.descriptionshould clearly explain what the plugin does.- Use
EquicordDevs.YourNameonly for Equicord plugins. - Use a plain object for personal or private plugins.
Further Resources
Section titled “Further Resources”To learn more about how plugins work, check out the Equicord GitHub repository and explore the existing plugins in:
src/equicordplugins— Equicord pluginssrc/plugins— Vencord plugins
For more in-depth plugin development information, visit the DeepWiki.
Where to get help
Section titled “Where to get help”For plugin development suggestions and support, you can ask in the Equicord Discord. You may not get a reply if the user or person is not knowledgeable on the topic.
