Multiverse-Inventories icon indicating copy to clipboard operation
Multiverse-Inventories copied to clipboard

Per world /mvinv lastlocation

Open zax71 opened this issue 4 years ago • 4 comments

Feature request

A way to do /mvinv lastlocation with per world support E.G: /mvinv lastlocation

this would be useful if you wanted a spawn world and a survival or creative world as you would want to spawn at the spawn of the hub but the survival or creative you would want them to spawn at lastlocation

Players don’t want to have to set a home and to to it every time and for server owners it is useful if you want a hub world like above

zax71 avatar Apr 22 '21 21:04 zax71

I had a different idea on how to tackle this classic question.

I figured, what if MV Inv ignored last_location for exact destinations? For example, suppose I want to go to my last location in "world":

/mvtp world

Now I want to go to a specific location (MV Inv will NOT take me to my last location in this case):

/mvtp e:world:0,70,0

What do you think?

nicegamer7 avatar Jul 20 '21 02:07 nicegamer7

that could work so the /hub commands could use /mvtp e:hub:0,70,0 and the commands for survival worlds could just be /mvtp survival and that would work with LastLocation. great idea!

zax71 avatar Jul 21 '21 09:07 zax71

There's a test build with that idea available at the PR above.

nicegamer7 avatar Jul 22 '21 02:07 nicegamer7

I think the original per-world idea is a critical feature for this because it's extremely annoying that /mvinv toggle last_location is a global option. Players will be much more likely to use a command like /warp spawn than /mvtp e:world:etc..., and so it makes a lot more sense to simply decide which worlds will have last_loc on and which ones will not, and then the groups will determine which worlds share that last_loc.

edit: I just realized that there is an option in the config, shares.optionals_for_ungrouped_worlds, which can do this in a way, by simply having the spawn world or whatever worlds ungrouped that won't do last_location. It still seems though that there might be a better way to have the optional shares enabled/disabled on a per-world basis

Pocketkid2 avatar Dec 09 '21 19:12 Pocketkid2