> 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/api/net/minecraft/network/server/s00packetkeepalive.md).

# S00PacketKeepAlive

Represents a keep-alive packet sent from the server to verify client connectivity

### Extends

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

### Methods

#### getId()

> **getId**(): `number`

Gets the keep-alive ID number

**Returns**

`number`

The keep-alive ID

***

#### getPacketID()

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

Get the ID of the packet.

**Returns**

`string`

The ID of the packet.

**Inherited from**

[`Packet`](/api/net/minecraft/network/packet.md).[`getPacketID`](/api/net/minecraft/network/packet.md#getpacketid)
