Skip to content

Tracking: Plugins #1407

Description

@Snowiiii

Tracking: Plugins

This issue tracks the development of the native plugin system, focusing on stable ABI boundaries, lifecycle management, and event hooks using libloading

Core Infrastructure

  • Native Library Loading (libloading integration)
  • Basic Plugin Discovery (Scanning /plugins directory)
  • Versioning & Compatibility checks
  • Dependency Resolution (Loading plugins in specific order)
  • Safe Unloading / Hot-reloading support

Plugin Lifecycle

  • on_load (Pre-initialization, registry access)
  • on_enable (Post-world load, start tasks)
  • on_disable (Cleanup, saving data)

API Surface & Hooks

  • Command Registration API (Native hooks for Brigadier)
  • Event System (Internal dispatcher to native callbacks)
  • Logging API (Centralized server logging for native modules)
  • Task Scheduler (Async/Sync task execution from plugins)

TODO

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions