Check for maximum in /scoreboard?
//ads -- adsterra.com -- native banner
?>
This command: ...
/scoreboard players remove @p[score_Gold_min=1] Gold 1
Says to remove a Gold from whoever has at least 1, but is there a way to reverse that to be like
/scoreboard players add @p[score_Gold_max=1] Gold 1
Or something like that... I just want to know if there is a maximum value to go with the minimum value.
Pictures about "Check for maximum in /scoreboard?"



How do you check your scoreboard in Minecraft?
Via the /scoreboard objectives setdisplay command (see command reference), players' scores in specific objectives can be displayed in certain 'slots' in-game. Each 'display slot' can show one objective at a time, and multiple 'display slots' may be used for the same or different objectives.How do you test scoreboard?
The correct syntax for score selectors is /testfor (player)[scores={objective=number}] . However that command only selects one number. To select a minimum number you need to use a scoreboard test.How do you add scoreboard objectives?
Scoreboard CommandMinecraft Scoreboard Operation Tutorial [1.16/1.17/1.18/1.19] How to Count Entities
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Andrea Piacquadio, Alexander Suhorucov, Andrea Piacquadio, Alexander Suhorucov
