Multiverse-Inventories

878k Downloads

Ability to teleport to last world in group

phemmer opened this issue ยท 2 comments

commented

Iit would be nice to have the ability to teleport to a group name and go to the last world you were in within that group.

The use case is having a group of survival worlds, and then a creative world. When in the creative world, it would be nice to do /mv tp survival and go to whichever survival world you came from.

I'm not sure if this is possible though. While multiverse-inventories is responsible for world groups, multiverse-core owns the /mv tp command, which I don't know if inventories can hijack it, or insert a group into the potential destinations. But figured I'd ask and see.

commented

Thats what the last_location optional share does. Last_location will keep your last location within a world group. Any time you teleport to a world within that group, you'll teleport to the exact spot you were standing when you left a world within that group.

commented

Hrm, I can see you're right, which is odd, as I was consistently getting the behavior where it kept my position in the world, but not the world within the group. But now it's behaving exactly as you describe.

I'll close this for now, and if I can reproduce the behavior I'll reopen.