I’m working on a Minecraft map. My plan is to teleport everybody (at the "event") to a different location.

So the problem is that I cannot do:

/minecraft:tp @a[team=event] ~ ~ ~

because it would teleport everybody to the same location.

So is there a way to teleport for example using:

event.member1 to 10 10 10

but also teleport event.member2 to 20, 20, 20?

  • 2
    Is the number of players/teams capped or should it work with any amount? spreadplayers would work with any amount, but the exact positions are random. If you only have e.g. 4 teams, you could hard-code the positions – IceFreez3r Apr 14 at 13:56
  • 2
    I was about to suggest what @IceFreez3r just mentioned - spreadplayers should do the job nicely - as long as you're fine with the positions being randomized. It shouldn't be an issue if plan to teleport players into a hub or arena of sorts, where they can move around (you can set the center and the max distance from it), but won't work if you want to teleport players onto, say, pillars. – Marty Cagas Apr 14 at 14:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.