I set up a scoreboard which is counting mined diamond ores. Score is displayed in the sidebar. The problem is that players are able to abuse the score with silk touch, they mine and place ores repeatedly.

How can I get the scoreboard to show the wanted value?

  • Maybe a "picked up diamond scoreboard" instead?
    – Reflexive
    Commented Mar 4, 2017 at 22:07
  • @ExperimentalRocket Then people could repeatedly throw and pick up diamonds to increase their score.
    – SirBenet
    Commented Mar 4, 2017 at 22:12
  • Has one of the answers helped you? Then you can mark it as accepted using the check mark to indicate that your problem was solved. Commented Nov 30, 2017 at 8:23

2 Answers 2


You add to the score whenever the player mines diamond ore and you remove from the score whenever the player places the diamond ore. This could still be slightly inaccurate when players give each other the diamond ore block, but in general, this won't cause an infinite score abuse.

  • 1
    This would at least keep the total score of all players equal to the total ore blocks they mined in the world, which is probably ok for most use cases. Commented Nov 30, 2017 at 8:23

Use another scoreboard to store the ACTUAL diamond ore mined. Use a tag to mark to player with {SelectedItem:{tag:{ench:[{id:33s}]}}} NBT (having silk touch enchantment).

Then, add 1 to the ACTUAL score if the player have score mined diamond ore >0 and don't have the tag (don't holding tool with silk touch enchantment.)

Not sure if it is accurate enough(maybe players can quickly switch items...maybe...), but it should be much more accurate than other methods.

edit: forgot to say that you have to reset the mine block score every tick after you check to score.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .