> For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scripting.breeze.rip/newgen/api/net/minecraft/network/protocol/game/clientboundplayerchatpacket.md).

# ClientboundPlayerChatPacket

A signed chat message from a player.

### Extends

* [`Packet`](/newgen/api/net/minecraft/network/protocol/packet.md)

### Properties

#### globalIndex

> `readonly` **globalIndex**: `number`

The server-wide message counter.

***

#### id

> `readonly` **id**: `string`

The protocol id, e.g. "minecraft:swing". Stable across versions, unlike class names.

**Inherited from**

[`Packet`](/newgen/api/net/minecraft/network/protocol/packet.md).[`id`](/newgen/api/net/minecraft/network/protocol/packet.md#id)

***

#### index

> `readonly` **index**: `number`

The sender's message counter.

***

#### message

> `readonly` **message**: `string`

The message text as typed.

***

#### name

> `readonly` **name**: `string`

The class name, e.g. "ServerboundSwingPacket".

**Inherited from**

[`Packet`](/newgen/api/net/minecraft/network/protocol/packet.md).[`name`](/newgen/api/net/minecraft/network/protocol/packet.md#name)

***

#### sender

> `readonly` **sender**: `string`

The sender's UUID.

***

#### serverbound

> `readonly` **serverbound**: `boolean`

True for packets the client sends, false for ones it receives.

**Inherited from**

[`Packet`](/newgen/api/net/minecraft/network/protocol/packet.md).[`serverbound`](/newgen/api/net/minecraft/network/protocol/packet.md#serverbound)

***

#### signed

> `readonly` **signed**: `boolean`

Whether the message carries a signature.

***

#### unsignedContent

> `readonly` **unsignedContent**: `string`

The server-modified text without formatting, or null if the message was not altered.
