---
title: Set Subtitle Text
description: "Play 0x70, server → client."
---

`play` · `0x70` · **clientbound** (server → client)

Sets the subtitle shown under the title. The server sends it before `SetTitleText`; the subtitle only appears once a title is shown.

Sent by the server, read by the client. Listen for it with `client.on("SetSubtitleText", (data) => …)` on the receiving side.

## Fields

| Field | Type | Notes |
|---|---|---|
| `text` | NBT |  |

## Send it

```ts
await client.sendPacket("SetSubtitleText", { text: { text: "Have fun", color: "gray" } });
await client.sendPacket("SetTitleText", { text: "Welcome" });
```

A subtitle only appears together with a title. Send it before `SetTitleText`; sending it alone changes nothing on screen.

Field aliases listed under Notes are accepted as alternative keys when writing.

Source: [`src/Core/Versions/776/Packets/play/clientbound/SetSubtitleText.ts`](https://github.com/GDLev/mc-protocol/blob/master/src/Core/Versions/776/Packets/play/clientbound/SetSubtitleText.ts)
