Bonjour, je suis en ce moment entrain de créer un mini-jeux mais mon scoreboard s'update qu'a un seul joueur, je voudrais qu'il s'update à tous les joueurs.
Scoreboard:
command /startplay:
trigger:
set {vert} to 0
set {rouge} to 0
set {bleu} to 0
set {orange} to 0
loop all players:
wipe loop-player's sidebar
set name of sidebar of %loop-player% to " &e<bold>GOLD &c<bold>CO&b<bold>UN&a<bold>TS "
set id based score " " in sidebar of loop-player to 5 with id "test."
set id based score "&2Vert : %{pointvert}%" in sidebar of loop-player to 4 with id "test1"
set id based score "&4Rouge : %{pointrouge}%" in sidebar of loop-player to 3 with id "test2"
set id based score "&1Bleu : %{pointbleu}%" in sidebar of loop-player to 2 with id "test3"
set id based score "&6Orange : %{pointorange}%" in sidebar of loop-player to 1 with id "test4"
while {var} is true:
edit score id "test1" to "&2Vert : %{pointvert}%" and 4
edit score id "test2" to "&4Rouge : %{pointrouge}%" and 3
edit score id "test3" to "&1Bleu : %{pointbleu}%" and 2
edit score id "test4" to "&6Orange : %{pointorange}%" and 1
wait 1 second