#scoreboard

1 messages · Page 1 of 1 (latest)

sonic shoal
#

I am making a scoreboard for my server but it doesn’t work when I add a death counter part to it (as shown in image) but when i remove that it works fine. Please may someone tell me why this is happening?
sorry for bad picture quality!

narrow river
#

{ “text” : “<stuff>”}

Should really just be:

{“text”:”<stuff>”}

Same thing with those spaces in between modules. Sometimes you have them and sometimes you don’t, why?

#

The syntax seems fine but the spaces everywhere are probably what’s messing it up

#

Otherwise give me the error message if there is one

sonic shoal
#

I fixed it

#

Missed a }

narrow river
sonic shoal
#

at the end of the warning objective

narrow river
#

I looked over it twice. I don’t think I’d miss something like that

sonic shoal
#

i did }

#

instead of }}

narrow river
#

Oh shoot

#

Ig I am blind

sonic shoal
#

My death counter dont even work now thats annoying me

narrow river
#

What’s your current system?

#

Because it really should just be:

/scoreboard players set @a [scores={alive=!2}] alive 0

/scoreboard players set @e [type=player] alive 1

/scoreboard players add @a [scores={alive=0}] Deaths 1

/scoreboard players set @a [scores={alive=0}] alive 2
sonic shoal
#

tag @a add dead
tag @e[type=player] remove dead
scoreboard players add @a[tag=dead,tag=!done] Deaths 1
tag @a[tag=dead] add done
tag @a[tag=!dead} remove done