Show an Action Bar Message
Display text just above the hotbar
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Shows 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}- Java: yes
- Bedrock: yes
- Command block: yes
- Needs cheats / OP: yes
How to use
- Open chat (T on Java, / on Bedrock).
- Paste the command, editing the message text.
- Press Enter — the message flashes above the hotbar.
- Re-run it (e.g. from a repeating command block) to keep a value updated.
Related commands
Show a Title on Screen
Display big center-screen text to a player
Add a Subtitle Under the Title
Show a smaller second line under a screen title
Send Colored Chat Text (tellraw)
Broadcast a custom colored message in chat
Clickable Chat Text That Runs a Command
Make chat text a clickable button that runs a command
Show a Scoreboard on the Sidebar
Display an objective's scores on the right side of the screen
Create a Custom Boss Bar
Show a custom boss health bar at the top of the screen