I have bought a Minecraft Realm to play with my friend and the friend is constantly coming into my house and taking my stuff (and doing multiple other things he shouldn't be). It doesn't matter what I do, he is always doing it so I was going to set up some 'security' to have some fun with him
Is there a command that will kill a certain player (and nothing else) if they go inside a certain area, for example:
Kill 'Steve' if they enter an area between X: -201 Y: 69 Z: -271 and X: -227 Y: 62 Z: -256
//You might want to also do /gamerule keepInventory true
OK, thanks. The point of this 'security' is so the 'friend' loses his stuff. The KeepInventory command is disabled so gameplay is better on the realm and I really don't want to change it just so my 'security' works better. Thanks for your help
Hello,
I have bought a Minecraft Realm to play with my friend and the friend is constantly coming into my house and taking my stuff (and doing multiple other things he shouldn't be). It doesn't matter what I do, he is always doing it so I was going to set up some 'security' to have some fun with him
Is there a command that will kill a certain player (and nothing else) if they go inside a certain area, for example:
Kill 'Steve' if they enter an area between X: -201 Y: 69 Z: -271 and X: -227 Y: 62 Z: -256
Some math:
-227 - (-201) = -26
62 - 69 = -7
-256 - -271 = 15
The command: (works if the realm is on MCPC. Wont work on MCPE yet)
/kill @a[name=Steve,x=-201,y=69,z=-271,dx=-26,dy=-7,dz=15]
//You might want to also do /gamerule keepInventory true
YouTube: https://www.youtube.com/channel/UCzGDRYWcrGreMmQFo_d5N5Q
Facebook:https://goo.gl/s0r12d
Website:https://theusaf.weebly.com
JavaScript Projects: https://theusaf.github.io
Link Shortener: https://shortr.github.io
Twitter:https://www.twitter.com/theusafyt
OK, thanks. The point of this 'security' is so the 'friend' loses his stuff. The KeepInventory command is disabled so gameplay is better on the realm and I really don't want to change it just so my 'security' works better. Thanks for your help