#Scoreboard display

1 messages · Page 1 of 1 (latest)

sharp oak
#

So I want to display the value a scoreboard has every time a player clicks on the item. I am missing the bit to display the scoreboard. Is there a command for that or would I need to use something hardcoded like json /execute @p[scores={value=1}] run say Value is 1 /execute @p[scores={value=2}] run say Value is 2 /execute @p[scores={value=3}] run say Value is 3 etc.

stone tendon
#

with rawtext, you can add score values, translations and entities inbetween text

#

the command would be:
/tellraw @p {"rawtext":[{"text":"Value is "},{"score":{"name":"@p","objective":"value"}}]}

sharp oak
sharp oak
stone tendon
#

huh, that's weird

#

where are you running the command