mcpwn API
    Preparing search index...

    Function loadPayloads

    • Resolve a payload reference to its lines. Resolution order (§3.7): a bundled category name maps to the shipped payloads/<name>.txt; anything else is treated as a filesystem path to a .txt wordlist. Throws a friendly error when neither resolves — the caller's per-rule safety net logs it and forwards the message untampered (never blocks the wire).

      Parameters

      • name: string

      Returns string[]