I made a Kit PvP world and when my friends play they destroy everything. I don't want to keep rebuilding everytime.

Is there a command with which they can't break any blocks anymore ?

4 Answers 4


Use Adventure Mode (/gamemode 2), this way players aren't able to destroy anything except things like vines or tall grass but they are able to do other actions like opening chests or fighting with swords.

The command to set everyone to Adventure mode is: /gamemode 2 @a

  • 3
    This can also be enabled in the server config file Nov 19, 2014 at 14:13
  • yeah i think so Nov 19, 2014 at 14:47
  • 1.13 syntax: /gamemode adventure @a
    – pppery
    Aug 2, 2019 at 19:39

But, if you still want to let players place things, that does not work. Another way is to give everyone mining fatigue by using the following:

/effect player effect seconds amplifier

For example:

/effect @a mining_fatigue 100 100, and have a clock running with command blocks with that continence.

Here's a way to hide the text that says that it did it, Do /gamerule DoCommandOutput False

  • 2
    Every Word Capitalized Is Annoying And Unneccessary.
    – Frank
    Mar 7, 2016 at 23:39
  • 1.13 syntax: /effect @a mining_fatigue 100 100. Also, the gamerule should be commandBlockOutput
    – pppery
    Aug 2, 2019 at 19:40

If you’re on pc or pe edition you can put the permission on visitor so other players cannot break blocks,or open chests.


You can set each player into adventure mode /gamemode a. This makes them unable to break blocks.

  • check your spelling Nov 21, 2014 at 9:24
  • 1.13 syntax: /gamemode adventure
    – pppery
    Aug 2, 2019 at 19:40

You must log in to answer this question.

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