Script API - v1.20.60
    Preparing search index...

    Defines a JSON structure that is used for more flexible.

    interface RawMessage {
        rawtext?: RawMessage[];
        score?: RawMessageScore;
        text?: string;
        translate?: string;
        with?: string[] | RawMessage;
    }
    Index

    Properties

    rawtext?: RawMessage[]

    Provides a raw-text equivalent of the current message.

    Provides a token that will get replaced with the value of a score.

    text?: string

    Provides a string literal value to use.

    translate?: string

    Provides a translation token where, if the client has an available resource in the players' language which matches the token, will get translated on the client.

    with?: string[] | RawMessage

    Arguments for the translation token. Can be either an array of strings or RawMessage containing an array of raw text objects.