mcpwn API
    Preparing search index...

    Function loadRuleActionPlugin

    • Load a custom RuleActionPlugin from path. The module (or its default export) is either an object { kind, apply } or a function carrying a kind property. Throws a clear error when neither the kind nor an apply function is present.

      Parameters

      • path: string

      Returns Promise<RuleActionPlugin>