IPlugin Interface Documentation

The IPlugin interface is the core contract that all plugins must implement to integrate with Melon.

Interface Definition


    public interface IPlugin
    {
        string Name { get; }
        string Version { get; }
        string Authors { get; }
        string Description { get; }
        IHost Host { get; set; }
        IWebApi WebApi { get; set; }
    
        Dictionary<string, string> GetHelpOptions();
        void LoadMelonCommands(IHost host);
        void LoadMelonServerCommands(IWebApi webapi);
        int LoadUI();
        int UnloadUI();
        int Execute();
        int Destroy();
    }
        

Properties

Methods