I'm working on a Sky PvP server using only command blocks! If a player dies to another player I want them to drop their items on death, but when they fall down from island, I want to keep their inventory. How can i do this using command blocks?

  • 1
    What have you tried to make this happen on your own. Arqade doesn't mind helping, but we do expect you to make an attempt on your own before asking here. That way, when someone provides an answer, it's specific to the issue you're having, where you're stuck, that sort of thing. And we get a better question, so everybody wins!
    – Frank
    Jul 25, 2015 at 16:37

1 Answer 1


On a clock, run these commands in this order:

/execute @a ~ ~ ~ /effect @p[y=-100,dy=99] resistance 1 5
/execute @a ~ ~ ~ /tp @p[y=-100,dy=99] X Y Z

Replace X Y Z with where you want them to be teleported back up to. The first command just gives a short resistance effect to stop the player from dying of fall damage.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .