You are here

Zeres Plugin Library

– The final plugin file does not include the library code. Instead, it automatically downloads the library from a CDN if it’s missing on the user’s system. This keeps your plugin file small. Use:

Every ZPL-dependent plugin requires a standard metadata block at the top, followed by a class that interfaces with the library: javascript

: Allows users to view specific permissions for others directly within the app. zeres plugin library

Many popular BetterDiscord plugins were built on top of this library, including:

If you have ever customized your Discord client using BetterDiscord, you have likely encountered a prompt asking you to install (often abbreviated as 00PluginLibrary ). This essential utility library is not a plugin that adds visible features on its own. Instead, it serves as the invisible backbone for dozens of the most popular BetterDiscord add-ons available today. – The final plugin file does not include the library code

: Ensure your BetterDiscord installer is up to date. Download a fresh copy of ZPL, overwriting the existing file in your plugins directory. Developing with Zeres Plugin Library (Quick Start)

Download the 0PluginLibrary.plugin.js file. (Note: The 0 in the filename ensures it loads first alphabetically before your other plugins). Use: Every ZPL-dependent plugin requires a standard metadata

The library includes an automatic update checking system. Through the base Plugin class, ZPL automatically checks for updates using the github_raw field specified in the config.json file, ensuring users always have the latest version of installed plugins.

// Load library and metadata only registry.scanDirectory("./plugins");