Skip to content
[/craft]
Show an Action Bar Message

Show an Action Bar Message

Display text just above the hotbar

✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026

Shows a short line of text in the action bar — the space just above the hotbar where item names and status messages appear. It fades on its own after a couple of seconds and does not block the screen, so it is ideal for live status like scores, timers, or hints. On Java it takes an SNBT text component; on Bedrock it takes plain text (or /titleraw for JSON).

/title @a actionbar {text:"Objective updated",color:aqua}
57 characters

How to use

  1. Open chat (T on Java, / on Bedrock).
  2. Paste the command, editing the message text.
  3. Press Enter — the message flashes above the hotbar.
  4. Re-run it (e.g. from a repeating command block) to keep a value updated.

Related commands