#How to display a team’s total score from a scoreboard in TAB
1 messages · Page 1 of 1 (latest)
how can i show a team’s total score from a scoreboard objective in TAB? I have an objective called coins
i tried %objectivescore<objective>_<entry>% but it doesn’t show anything. what’s the correct placeholder format?
you know, you don't need to ask in 3 different channels
well, 4 if you count the thread on my Discord server
can you send the exact placeholder you tried?
%objectivescore<objective>_<entry>%
the exact placeholder with the values filled
what did you put instead of <objective> and <entry>
%objective_score_{score}_RedRabbits%
should i try that?
no, I just wrote that because my dog asked me to
cute dogie
ain't she adorable?
jk though, yeah you should try it
then I guess it works?
did you run those commands? the second one being the command to add a point for the team
even though I keep correcting you by removing the <>, you still keep adding them back...
the second command in the message?
i removed them
what do you mean by the "second one"?
and now what does the placeholder return?
right, I forgot the add before the team name
/scoreboard players add RedRabbits score 1
it shows zero
but either way you want to sum all of the team's players points together so that's not exactly going to work
I'll update my PlayerList expansion for you when I get the time to add a new placeholder to do that
i already got a system here working
but i also want it in the tab
this is for something else
how did you make it?
these are the commands blocks for it;
scoreboard players set RedRabbits coins 0
execute as @a[team=RedRabbits] run scoreboard players operation RedRabbits coins += @s coins
tellraw @a [{"text":" 1. "}, {"text":"\uE001 "}, {"text":"Red Rabbits ","color":"red"}, {"text":" "}, {"score":{"name":"RedRabbits","objective":"coins"},"color":"white"}, {"text":"\uE013"}]
this is for one of the teams
the first command block is an impulse
the two other ones are chain
what about %objective_scorep_{coins}_RedRabbits%
and reloded
no idea what the difference is but try it
exactly my thoughts
looking at the code, it seems to be the position on the scoreboard, so not interesting after all
yeah but i tried it
%objective_score_{coins}_{RedRabbits}%
does this say 100 as well?