Displays a title, subtitle, or actionbar message.
/title <targets> title <json> /title <targets> subtitle <json> /title <targets> actionbar <json> /title <targets> clear /title <targets> reset /title <targets> times <fadeIn> <stay> <fadeOut>
| Name | Required | Description |
|---|---|---|
| targets | Yes | Players to show titles to. |
| json | Yes | Text component JSON. |
| fadeIn/stay/fadeOut | No | Timing in ticks. |
/title @a title {"text":"Welcome!"}
/title @p actionbar {"text":"+5 XP"}
/tellraw for chat-style JSON messages.Available in Java and Bedrock with format differences.