• Sends a JSONB.stringify stringified message in chat, including functions, getters, and setters, with the message colorized.

    This uses the following options: {bigint: true, class: false, function: true, Infinity: true, get: true, NaN: true, NegativeInfinity: true, set: true, undefined: true}.

    Parameters

    • value: any

      The message to send, will be passed through the JSONB.stringify function, colorized with the colorizeJSONString function, and then passed into world.sendMessage.

    • Optionalspace: string | number

      The spacing for the stringified JSON.

    • Optionaloptions: {
          bigint?: string;
          comma?: string;
          false?: string;
          key?: string;
          leftCurlyBracket?: string;
          leftSquareBracket?: string;
          null?: string;
          number?: string;
          rightCurlyBracket?: string;
          rightSquareBracket?: string;
          string?: string;
          true?: string;
          undefined?: string;
      }

      The options for the colorizeJSONString function, if not specified, the default options will be used.

    Returns void