How to make it so no one can place blocks in spawn, using command blocks

How to make it so no one can place blocks in spawn, using command blocks - White and Gold Round Coins

This is for my server, and I am trying to make it so that you can run around with your items, but can't place any blocks to grief. How do I do this with command blocks?



Best Answer

One solution is to have a fill clock constantly cloning a regular lobby onto the one where the players are. This prevents people from making changes to your spawn, if you really want to use commands and commands only to do it.




Pictures about "How to make it so no one can place blocks in spawn, using command blocks"

How to make it so no one can place blocks in spawn, using command blocks - Content female customer with long curly hair wearing casual outfit sitting at wooden table with netbook in classic interior restaurant while making online order
How to make it so no one can place blocks in spawn, using command blocks - Numbers Wall Decor
How to make it so no one can place blocks in spawn, using command blocks - 123 Cutout Decor on Red Surface



How do you make it so no one can break blocks in Minecraft?

properties file by following the steps below:
  • Stop your server. ...
  • Locate the server. ...
  • Locate the option called spawn-protection and change the value to the number of blocks you would like to be protected (e.g. spawn-protection=20 ). ...
  • Click on the Save button to save the changes.




  • How to make Minecraft bedrock Unbreakable Area/Spawn NO LAG! Command block tutorial!




    More answers regarding how to make it so no one can place blocks in spawn, using command blocks

    Answer 2

    If you want to prevent them from destroying blocks, you can just apply the effect mining fatigue with a lever higher of 5 on every player near the spawn with a command block.

    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: DS stories, Yan Krukov, Magda Ehlers, Magda Ehlers