I went on my realm and my friend was trolling me with /kill
in command blocks and chat. He also kept teleporting to me so his head was inside mine, so I couldn't break his command blocks.
How can I stop him (without taking away his op)? Is it possible?