Skip to content

add: system plugins#132

Merged
1Lucas1apk merged 4 commits into
devfrom
add-system-plugins
Dec 19, 2025
Merged

add: system plugins#132
1Lucas1apk merged 4 commits into
devfrom
add-system-plugins

Conversation

@1Lucas1apk

Copy link
Copy Markdown
Member

Changes

Added the new plugin system and the PluginManager. Plugins can now register custom REST routes, WebSocket interceptors, audio interceptors, middleware, filters, sources and player interceptors. Updated /info to expose plugin metadata. Implemented a working Cloudflare Tunnel plugin and a sample plugin for demonstration. Adjusted the server bootstrap to load plugins in master and worker contexts.

Why

This feature makes NodeLink extensible without modifying core files. It enables developers to integrate new behavior cleanly and encourages future contributions. The design keeps compatibility with existing clients while allowing third-party plugins to hook into core events in a controlled way.

Checkmarks

  • The modified endpoints have been tested.
  • Used the same indentation as the rest of the project.
  • Still compatible with LavaLink clients.

Additional information

The plugin API was designed to be minimal at first but flexible enough for future features, including additional hooks, plugin configuration and validation. The sample plugin serves as practical documentation until formal docs are released.

@1Lucas1apk 1Lucas1apk merged commit a60890b into dev Dec 19, 2025
@1Lucas1apk 1Lucas1apk deleted the add-system-plugins branch December 19, 2025 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants