> 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/functions/spoofmanager.sendpacket.md).

# spoofManager.sendPacket

> **sendPacket**(`packet`, `event`): `void`

Sends a packet to the server.

### Parameters

#### packet

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

The packet.

#### event

`boolean`

Whether other modules and scripts see it in PacketSendEvent.

### Returns

`void`

### Remarks

Sending packets the vanilla client never would is the fastest way to get banned.
