As of late 2024 and 2025, Zeres Plugin Library has been officially deprecated . The repository was archived on November 2, 2025 The primary reasons for this shift include: Native API Growth:
Note: compatibility and distribution of client mods, libraries, and their usage may violate Discord Terms of Service. Use mods at your own risk.
:
( .zplrc.js ):
// Retrieve a specific interface safely auto effect = registry.getInterface<IEffect>("com.example.effects.custom");
| Option | Description | |:---|:---| | releaseFolder | Absolute or relative path where built plugins are saved. Default: "./release" | | bdFolder | Location of your BetterDiscord installation folder. The system tries to detect it automatically. Default: "<os-specific>/BetterDiscord" | | copyToBD | Boolean; if true , the built plugin is automatically copied to the BD plugins directory. Default: false | | addInstallScript | Boolean; whether to include a user‑friendly installation script inside the output plugin file |
If the automatic prompt fails or you prefer to do it yourself, follow these steps: zeres plugin library
Open > Plugins and check if ZeresPluginLibrary has an update available. If it does, click Update .
The library comes with a robust command-line build system, usually invoked via the command zpl . This system makes managing plugin code incredibly straightforward. Here is a look at the standard workflow:
Discord uses Webpack to bundle its code. Without a helper library, finding a specific Discord function (like "send message") requires digging through massive, minified bundles. ZPL includes sophisticated Webpack finders that locate these functions automatically, making plugin logic robust against minor Discord updates. As of late 2024 and 2025, Zeres Plugin
npm install zerespluginlibrary
Zeres introduces a standardized lifecycle state machine: Registered -> Instantiated -> Active -> Suspended -> Unloaded . Unlike simple factories, the Lifecycle Manager handles dependency injection. If Plugin A requires Plugin B, Zeres resolves the dependency graph topologically before instantiation, preventing circular dependency deadlocks.
As a user, you rarely interact with ZPL directly, but you must install it to run advanced plugins. Method 1: The Automated Way Unlike simple factories
Open Discord. BetterDiscord will detect that the library is missing and show a prompt: .