mcpwn API
    Preparing search index...

    Interface RuleActionPlugin

    A custom tamper action. apply returns the new message JSON to forward, or undefined for "no change" (the message is forwarded untampered). Throwing is safe: the engine rolls the message back and forwards the original.

    interface RuleActionPlugin {
        kind: string;
        apply(ctx: RuleActionContext, params: RuleActionParams): any;
    }
    Index
    kind: string