#Scoreboard in requirements does not exists ?

1 messages · Page 1 of 1 (latest)

restive hill
#

Hello, we can't use somthing like that ?
right-click_requirement:
requirements:
possessPointiinScoreboard:
type: scoreboard
objective: Point
value: 8

rare yacht
clever totem
#

There is a scoreboard objective expansion that lets you access the value of an objective

restive hill
restive hill
#

I find a solution : add an if condition before each Commands :
[console] execute as %player_name% if score %player_name% Pixelites matches 64.. run
But with this solution i can't use "deny_commands" if condition is not met

restive hill
#

I finally found :
left_click_requirement: requirements: possede64PoudrePixelite2_1: type: javascript expression: '%objective_score_{Pixelites}% >= 64'