I now there is a way to protect a zone like the plugin world guard but without using plugins, by using command block, what I want to know is, how do I do it? I've tried a lot of different ways to do it. But non of does works propertly. Im sure that one of you people knows about using does commands. If you can help me I will apreciate.
I now there is a way to protect a zone like the plugin world guard but without using plugins, by using command block, what I want to know is, how do I do it? I've tried a lot of different ways to do it. But non of does works propertly. Im sure that one of you people knows about using does commands. If you can help me I will apreciate.
if you want to make it to where nothing but a player can be in a specific area you could set a repeating command block with the command
/kill @e[type=!player,x=<xcoordinate>,y=<ycoordinate>,z=<zcoordinate>,distance=1..<# of blocks out>.
only downside is it would also kill items doing that
you could solve that though with multiiple command blocks only having to change the type to
type=creeper, and type=zombie and so on each in a different command block.
The only other way to protect an area without having it surrounded though I can think of is to use /clone.
but this could be very laggy.