← Back to Command Directory ← Back to Home

/title

Displays a title, subtitle, or actionbar message.

Syntax

/title <targets> title <json>
/title <targets> subtitle <json>
/title <targets> actionbar <json>
/title <targets> clear
/title <targets> reset
/title <targets> times <fadeIn> <stay> <fadeOut>

Parameters

NameRequiredDescription
targetsYesPlayers to show titles to.
jsonYesText component JSON.
fadeIn/stay/fadeOutNoTiming in ticks.

Examples

/title @a title {"text":"Welcome!"}
/title @p actionbar {"text":"+5 XP"}

Notes

Version Differences

Available in Java and Bedrock with format differences.

Related Commands