1

Creating command for unbreakable blocks

EchocallingEarth's Avatar EchocallingEarth10/3/16 1:56 pm
1 emeralds 11.6k 2
10/23/2016 9:32 pm
jtrent238's Avatar jtrent238
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.
Posted by EchocallingEarth's Avatar
EchocallingEarth
Level 28 : Expert Architect
23

Create an account or sign in to comment.

2

1
10/23/2016 9:32 pm
Level 67 : High Grandmaster Modder
jtrent238
jtrent238's Avatar
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
10/03/2016 2:41 pm
Level 62 : High Grandmaster Cyborg
Fanikz
Fanikz's Avatar
Use worldguard to create areas - https://dev.bukkit.org/bukkit-plugins/worldguard/

There are plenty of tutorials around, so just search.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome