JSPrismarine
    Preparing search index...
    Index

    Constructors

    Methods

    • Send a chat message to the client.

      Parameters

      • options: {
            message: string;
            needsTranslation?: boolean;
            parameters?: string[];
            platformChatId?: string;
            sourceName?: string;
            type?: TextType;
            xuid?: string;
        }

        The options for the message.

        • message: string

          The message to send.

        • OptionalneedsTranslation?: boolean

          Whether the message needs translation.

        • Optionalparameters?: string[]

          The parameters for the message.

        • OptionalplatformChatId?: string

          The platform chat ID.

        • OptionalsourceName?: string

          The source of the message.

        • Optionaltype?: TextType

          The type of the message.

        • Optionalxuid?: string

          The XUID of the player.

      Returns Promise<void>

      A promise that resolves when the message is sent.