I'm making a skyblock server-map with commandblocks, and I was wondering if there was a way to make it so if a player on my map falls into the void, it would teleport them back to spawn?
The Meaning of Life, the Universe, and Everything.
Join Date:
7/18/2013
Posts:
56
Location:
PA, USA
Minecraft:
MilkyRayy
Xbox:
RayisNintendo
Member Details
(This would count for all deaths, not just void deaths.)
When a player enters your island, have them teleport to a obsidian cage with a pressure plate that sets there spawn to the spawn of your island, then teleport them there. If they die, they would automatically teleport to the island when they die.
(This would count for all deaths, not just void deaths.)
When a player enters your island, have them teleport to a obsidian cage with a pressure plate that sets there spawn to the spawn of your island, then teleport them there. If they die, they would automatically teleport to the island when they die.
I'm looking for a thing that would prevent void death all together, so you would get teleported once you fall in, also using vanilla so can't use any plugins
The Meaning of Life, the Universe, and Everything.
Join Date:
7/18/2013
Posts:
56
Location:
PA, USA
Minecraft:
MilkyRayy
Xbox:
RayisNintendo
Member Details
I researched a bit more and found this:
/testfor @a[x=~,y=-10,z=0] Put a comparator coming out of that command, and place another command block into the comparator. (make sure that it's right at the void)
I'm making a skyblock server-map with commandblocks, and I was wondering if there was a way to make it so if a player on my map falls into the void, it would teleport them back to spawn?
(This would count for all deaths, not just void deaths.)
When a player enters your island, have them teleport to a obsidian cage with a pressure plate that sets there spawn to the spawn of your island, then teleport them there. If they die, they would automatically teleport to the island when they die.
I'm looking for a thing that would prevent void death all together, so you would get teleported once you fall in, also using vanilla so can't use any plugins
I researched a bit more and found this:
/testfor @a[x=~,y=-10,z=0] Put a comparator coming out of that command, and place another command block into the comparator. (make sure that it's right at the void)