TransWikia.com

Use a command block to "Sense" a player in a certain area

Arqade Asked on July 29, 2021

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.

4 Answers

You can make a redstone clock (I recommend the repeater ones) and attach it to a command block with this command:

/spawnpoint @a X Y Z

Remember to turn off command block output to prevent spam!

/gamerule doCommandBlockOutput false

Hope it helped. :)

Correct answer by Duncan on July 29, 2021

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

:)

Answered by Kingbluesapphire on July 29, 2021

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.

Answered by t3hCrush3r on July 29, 2021

Actually, you can just use /setworldspawn and that will make everyone spawn in the same general area.

Answered by Jack on July 29, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP