1
Creating command for unbreakable blocks
Hi new here but have a question and couldn't find an answer else where.
I am working on a world intent upon becoming a server. A total massive build with a ton of extras and yes it is modded.
Anyways I want to know if it is possible make it so that blocks within a certain area can not be broken.
For example all the blocks within the main kingdom can not be broken. But those outside of it can be.
I've seen something like this on servers where you can not break blocks at the hub. but once you leave that area you can mine blocks etc.
I am hopeful that there is a command I can use for this or several.
Thanks in advance for any and all help.
Also if in the wrong thread I apologize.
I am working on a world intent upon becoming a server. A total massive build with a ton of extras and yes it is modded.
Anyways I want to know if it is possible make it so that blocks within a certain area can not be broken.
For example all the blocks within the main kingdom can not be broken. But those outside of it can be.
I've seen something like this on servers where you can not break blocks at the hub. but once you leave that area you can mine blocks etc.
I am hopeful that there is a command I can use for this or several.
Thanks in advance for any and all help.
Also if in the wrong thread I apologize.
Create an account or sign in to comment.
2
1
Make a dirt block at "153 156 231" Unbreakable(Well it is still breakable but it will be replaced as soon as it is broken) enter the command in repeating Command Block
/setblock 153 156 231 minecraft:dirt
1
Use worldguard to create areas - https://dev.bukkit.org/bukkit-plugins/worldguard/
There are plenty of tutorials around, so just search.
There are plenty of tutorials around, so just search.