Use a command block to "Sense" a player in a certain area
On my friends and my server, we have a skyblock map. My issue is when somebody joins they spawn above the Void. What I need is for a command block to determine if a player is near the Void and send a redstone signal to another command block that will teleport them to the main island.
Best Answer
What you need is if they "spawn" above void then go to the spot you want to be the spawn point and type in the chat bar /setworldspawn
This will set the worlds spawn to that spot instead of trying to have lots of command blocks
:)
Pictures about "Use a command block to "Sense" a player in a certain area"



How do you get a command block to work in a certain area?
How to get a Command BlockHow do you test a player in minecraft in a certain area?
2. Type the CommandBLOCK BREAKING DETECTION!? -- Command Block Tutorial
More answers regarding use a command block to "Sense" a player in a certain area
Answer 2
Why not just get the Essentials plugin and set the spawn somewhere else? You can use the /setspawn command. This is, of course, assuming you're using Bukkit.
Answer 3
Actually, you can just use /setworldspawn and that will make everyone spawn in the same general area.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Meruyert Gonullu, Olga Lioncat, Andreea Ch, Andreea Ch
