Basically im working on a server and i want a scoreboard to show the blocks a player have. The problem is that when i join it doesnt execute the command "scoreboard1 %player%"
help pls
help pls
Code:
on join:
execute command "scoreboard1 %player%"
command /scoreboard1 <player>:
permission:sk.developer
trigger:
wipe player's sidebar
set name of sidebar of arg-1 to "&3Blocks:"
if {glass::%arg-1%} is bigger than 0:
set score "&3Glass" in sidebar of arg-1 to {glass::%arg-1%}
execute command "scoreboard2 %arg-1%"
else:
execute command "scoreboard2 %arg-1%"