Skip to main content
Illegalcord plugins are TypeScript modules compiled with the client. A plugin exports definePlugin({ ... }), declares metadata, and uses APIs from @api/*, @utils/*, @webpack, @webpack/common, and @components/*.

Where plugins live

Each plugin folder usually contains a single index.ts or index.tsx. Split files only when the code is large or reusable.

Plugin anatomy

Replace the author with your own Devs or EquicordDevs entry before submitting code.

Prefer declarative fields

Many integrations can be declared directly on the plugin object: Declarative fields let PluginManager handle registration, cleanup, and API dependency enabling.

Core APIs

Do not use @illegalcord/api. That package is not part of this repository. Use the aliases from tsconfig.json.