Trying to teleport members in a certain team in minecraft
I am creating a server in Minecraft and I would like to make it when a player gets to a certain area it teleports the members of a certain team to a different location.
I would also like to know how to separate different areas for commands in different worlds so say you use a command block in one world it will not effect anyone in the other worlds.
Also how if possible to set it so you can have different games in the same world but none of the commands will work from one game to the other.
Best Answer
Thats a lot of questions!
1. testfor a player in the specific location, then do /tp @a[team=Teamname] x y z
2.Just make a scoreboard /scoreboard objectives add world dummy World and give entities and players in each area a different score /scoreboard players set @a[r=range] world 4 and then, on every command put [score_world=4] target selector for any entity.
3.That the same thing if I got it right...
+ anything in bold means you can change it however you need to
Pictures about "Trying to teleport members in a certain team in minecraft"



How do you teleport to a team in Minecraft?
How do you teleport to someone who enters a certain area?
Put pressure plates around your desired area. under each pressure plate place a command block that will teleport you to coordinates of your choice. do this by inserting the command /tp @p x y z into your command block.How do you teleport in Minecraft Survival Multiplayer?
How to Teleport to Another Player in Minecraft?I Teleported Players in Survival Minecraft
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Jopwell, Kindel Media, Julia M Cameron, Pavel Danilyuk
