rollback a players inventory using /co?

I have a player whos inventory bugged due to a multiverse portal glitch. is there a way I can grab their inventory prior and return it? Pretty new to this so if the answer is easy I apologize.
11 Replies
Snow Kit
Snow Kit2w ago
/co rollback u:Notch t:5m a:inventory
Bunjin
BunjinOP2w ago
does this break if they pick up anything? it just gives them items for the parkor mv world
Snow Kit
Snow Kit2w ago
it’ll fully rollback their inventory to that time (in theory)
Bunjin
BunjinOP2w ago
i tried adjusting the time between 15m-2h and it just gives them the same thing
Snow Kit
Snow Kit2w ago
if it bugged out, it may have not logged them loosing items
Bunjin
BunjinOP2w ago
ah that makes sense tbh, i was worried about that
Snow Kit
Snow Kit2w ago
if you have a backup you can just restore their player.dat, but that’s the best you’ll be able to do
Bunjin
BunjinOP2w ago
I'm guessing that is the case as they usually retrieve the items back when quiting the mv world- and yeah we have a backup, but from too long ago.. ill just manually reinburse them. thanks for the help!
Snow Kit
Snow Kit2w ago
if you’re able to catch it within like 5 minutes, there are player.dat.old files minecraft keeps
Bunjin
BunjinOP2w ago
where would that be for future reference?
Snow Kit
Snow Kit2w ago
yeah

Did you find this page helpful?