# S3FPacketCustomPayload

Represents a custom payload packet sent from the server

### Extends

* [`Packet`](https://scripting.breeze.rip/api/net/minecraft/network/packet)

### Methods

#### getBufferData()

> **getBufferData**(): `number`\[]

Gets the custom payload data as a byte array

**Returns**

`number`\[]

The payload data bytes

***

#### getChannelName()

> **getChannelName**(): `string`

Gets the channel name for this custom payload

**Returns**

`string`

The channel name

***

#### getPacketID()

> **getPacketID**(): `string`

Get the ID of the packet.

**Returns**

`string`

The ID of the packet.

**Inherited from**

[`Packet`](https://scripting.breeze.rip/api/net/minecraft/network/packet).[`getPacketID`](https://scripting.breeze.rip/api/net/minecraft/packet#getpacketid)
