![](http://smnfrd.it/wp-content/uploads/2016/04/b2a81be23c2be290a7d4ff5d8dc94278.png)
/scoreboard objectives add armor dummy
Adds a score called armor that can only be changed with commands
![](http://smnfrd.it/wp-content/uploads/2016/04/repeating_u-1.png)
/scoreboard players set @a armor 0
Sets the score at 0, this is used to super-fast reset the score
![](http://smnfrd.it/wp-content/uploads/2016/04/b31adf9a605bee69991378071483c48c-1.png)
/scoreboard players set @a armor n {Inventory:[{Slot:xb,id:"minecraft:id"}]}
Sets at "n" the score of all the players with "id" in their "x" slot
Helmet slot: 103b
Chestplate slot: 102b
Leggings slot: 101b
Boots slot: 100b
![](http://smnfrd.it/wp-content/uploads/2016/04/b31adf9a605bee69991378071483c48c-1.png)
/clear @a[score_armor_min=n,score_armor=n] id
Removes "id" from the inventory of all the players with the score setted at "n"
Recent Comments