Overview of the KPM API
The KPM API is a Java-callable API designed for developers to create plugins that integrate with KPM. To utilize all features of the KPM API, developers must first create a KPM information file (kpm.yml).
website·Indexed 31 days ago
https://kpm.kunlab.org/A plugin manager for servers that supports installing, upgrading, and uninstalling plugins, including integration with GitHub. The documentation covers KPM v2 and v3, featuring a plugin resolver, dependency tree management, and a hook system for plugin operations. Includes Javadoc for v3.0.0-pre8.
Pre suffix are called before the operation, and those with a Post suffix are called after the operation.KPM provides several subcommands for managing plugins. Most are accessed via /kpm <subcommand>:
install: Install a new plugin.uninstall: Remove a plugin from the server.info: Display detailed plugin information.register: Link KPM with GitHub.version: Check plugin versions (replaces the deprecated status command)./kpm info command displays comprehensive details about a specified plugin. The output includes basic plugin information, KPM-specific metadata (such as installation date and installer), a list of dependencies and dependents, file details (including modification dates and hashes), and any additional information provided by a KPM info file if present./kpm info <plugin_name>