/titleraw Command in Minecraft Bedrock Edition

Control Screen Titles Using Raw JSON Messages

Bedrock EditionChat & TextPermission: Game DirectorsCheats: Yes

The /titleraw command lets you control the text and timing for on-screen titles in Minecraft Bedrock Edition using raw JSON messages. You can display messages across the middle of the screen as a main title, right below it as a subtitle, or above the hotbar using the actionbar location.

Map makers and server hosts use this command to show custom messages to players during events, minigames, or quests. To run this command, cheats must be enabled in your world and you need the Game Directors permission level.

Syntax (4 forms)

  1. /titleraw <player: target> clear

    Clear raw title

  2. /titleraw <player: target> reset

    Reset raw title

  3. /titleraw <player: target> <titleLocation: TitleRawSet> <raw json titleText: json>

    Add raw title

  4. /titleraw <player: target> times <fadeIn: int> <stay: int> <fadeOut: int>

    Add raw title, fade in, fade out

Arguments

ArgumentTypeWhat it means
fadeInintThe number of gameticks for the raw title to fade in. Default: `0`.
fadeOutintThe number of gameticks for the raw title to fade out. Default: `0`.
playertargetA player name `string` or `target selector` to identify the player.
raw json titleTextjsonA JSON `string` for the raw title text.
stayintThe number of gameticks for the raw title to stay. Default: `0`.
titleLocationTitleRawSetThe location where the raw title will display. Uses the `TitleRawSet` Enums `title`, `subtitle`, or `actionbar`.

Examples

Tips

Common mistakes

Bedrock vs Java

Minecraft Java Edition does not have a command named /titleraw, as this command is exclusive to Bedrock Edition.

FAQ

What is the difference between clear and reset in /titleraw?

The clear option simply removes the active title currently showing on the player's screen, while reset sets the subtitle text to blank and restores the fadeIn, stay, and fadeOut times back to their default values.

Where on the screen can I place a /titleraw message?

You can display your JSON message in three different spots by setting the location argument to title, subtitle, or actionbar.

Why is my /titleraw command blocked from running?

The command requires cheats to be enabled in your world settings and your player account must have the Game Directors permission level.

Related commands

/me/say/tell/tellraw/title