So, I'm a complete newb when it comes to commands blocks. What I need to happen is when someone enters a nether portal anywhere on the map, it'll teleport them to a specific location in the nether. Which in this case would be a specific nether portal.[/p]
When they enter back into this nether portal, they will be teleported back to their original nether portal instead of the one connected to the forced nether portal. I don't even know if this is possible, but if it is, I'd love some help figuring out how to do it![/p]
I would suggest using tags to mark players that have been teleported already, then teleport/tag any without that tag that are in the nether. Of course you'll need to remove the tag when they leave the nether so it works again. As for teleporting them back to their original portal, you'd need to summon an armor stand or an AEC at their location before you tp them to the main portal. You'll also need to give each player an ID (probably on the scoreboard) and mark it with their ID so you know where to put them back after.
When they enter back into this nether portal, they will be teleported back to their original nether portal instead of the one connected to the forced nether portal. I don't even know if this is possible, but if it is, I'd love some help figuring out how to do it![/p]
Is this for single or for multiplayer?
~Blue
Multiplayer.
I would suggest using tags to mark players that have been teleported already, then teleport/tag any without that tag that are in the nether. Of course you'll need to remove the tag when they leave the nether so it works again. As for teleporting them back to their original portal, you'd need to summon an armor stand or an AEC at their location before you tp them to the main portal. You'll also need to give each player an ID (probably on the scoreboard) and mark it with their ID so you know where to put them back after.