How do I disable players from building/placing blocks in a certain area of minecraft server?

How do I disable players from building/placing blocks in a certain area of minecraft server? - White Metal High-rise Viewing Deck Building

I want players in my minecraft server to be unable to break and place blocks right near the spawn. Then after they pass the limits they can start building things. How do I do this?



Best Answer

Additionally, an alternative way of protecting regions that are not just close to spawn is using a modded server running Spigot and WorldGuard.

WorldGuard is a plugin that you can add to a Spigot server to protect specific regions and grant particular permissions to some players. For example, if you wanted to protect a region that was 10,000 blocks away from spawn, you would be able to manually define a region (using WorldEdit, a dependency of WorldGuard), define it as a region, and grant it particular flags, such as whether or not PvP is allowed, if fire is allowed to spread and burn blocks, if mobs can spawn naturally, and a large number of other things.

Typically, WorldGuard is often used with a permissions plugin, so that way, some users are allowed to place blocks in a region while others are not. You could also accomplish this with just OP or non-OP permissions as well, but sometimes using a more intricate permissions set-up is preferential depending on your needs.

This is certainly more difficult than just modifying the server.properties file, but as a result, you get a lot more flexibility, power, and options to customize the region protection as you see fit. Playing around with Minecraft servers are one the things I enjoy most, and you can actually learn a lot by doing things such as this.

For a full list of all the WorldGuard region flags, you can look here.




Pictures about "How do I disable players from building/placing blocks in a certain area of minecraft server?"

How do I disable players from building/placing blocks in a certain area of minecraft server? - From below of contemporary high apartment building located in residential district against blue sky
How do I disable players from building/placing blocks in a certain area of minecraft server? - From below exteriors of low rise apartment buildings in old town district under blue sky
How do I disable players from building/placing blocks in a certain area of minecraft server? - Drone view of modern buildings located in rows between roads in suburb of contemporary town on daytime



How do you stop people from putting blocks in Minecraft?

The answer is simple: if you do /gamemode adventure @a, than none of the players can place or break blocks. Show activity on this post. Just turn Trust Players off. If you cannot, sorry!

How do you disable buildings in Minecraft?

No Break is an extremely easy to use, extremely lightweight plugin that disables block breaking and placing for players without a permission.



Minecraft: WorldGuard Tutorial - Protect Regions, Disable PvP, and More!




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

Images: Pixabay, Andreea Ch, Olga Lioncat, Kelly