mcpwn API
    Preparing search index...

    Interface Policy

    interface Policy {
        defaultAction?: PolicyAction;
        name?: string;
        rules: PolicyRule[];
    }
    Index
    defaultAction?: PolicyAction

    Action when no rule matches. Defaults to "allow" (fail-open by default).

    name?: string

    Optional label for the policy, echoed in startup logs.

    rules: PolicyRule[]