• Sends a JSONB.stringify stringified message in chat, without including functions, getters, setters, or undefined values, with the message colorized.

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

    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