Coins HUD above the hotbar

Shows each player their own coin balance above the hotbar at all times, using a scoreboard and titleraw.

EasyHUD7 commandsRecorded in game 1.26.60
Recorded in Minecraft Bedrock 1.26.60.

You need

1Create the score

Chat
/scoreboard objectives add coins dummy Coins

Creates a score called coins that only commands can change.

Chat
/scoreboard players add @a coins 0

Gives everyone a starting value so the HUD has something to show.

2Show it

One repeating block, Always Active.

Repeating block
/titleraw @a actionbar {"rawtext":[{"text":"§6Coins: §f"},{"score":{"name":"*","objective":"coins"}}]}

Writes "Coins: <number>" on the action bar. The name * means the player who is reading it.

3Pay players

Use these wherever a player should earn or spend coins.

Chat
/scoreboard players add @p coins 10

Gives the nearest player 10 coins.

Chat
/scoreboard players remove @p coins 5

Takes 5 coins away.

Chat
/execute as @a[scores={coins=100..}] run say I have 100 coins

Runs a command only for players with 100 or more.

No command blocks? Use the function pack

This creation is included in the free 9Minecraft Command Creations behavior pack. Add the pack to your world, then type one command. It does the same thing as the command blocks above, driven by a tick function.

/function n9/coins_hud_actionbar_on

Turns it on. All the setup commands from the steps above run for you.

/function n9/coins_hud_actionbar_off

Turns it off again.

Download the pack (.mcpack) How to install it

How it works

In rawtext, a score component with the name * is filled in separately for every player who receives the message, so one command shows each player their own number. The action bar fades after about two seconds, which is why the block repeats.

Make it your own

Turn it off

/scoreboard objectives remove coins

Deletes the score and every balance stored in it.

Commands used

More command creations

More from 9Minecraft

Command reference © 2026 9Minecraft.net. Syntax read from Minecraft Bedrock Edition 1.26.66.1.