TransWikia.com

How to teleport all players from a specific world into another world?

Arqade Asked on May 30, 2021

I have a Paper-Server (1.16.4) with MultiversePlugin (and some other plugins, like EssentialsX) and multiple worlds.
Is there a command which can teleport all players of a specific world into another world?

something like (only example!):/teleport @allPlayers:World2 to world:World3

One Answer

I think it should be possible using the /execute command.

/execute in <toDimension> run tp @a[nbt={Dimension:"<fromDimension>"}] <location>

Correct answer by Noel Nemeth on May 30, 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