Multiverse-Inventories

878k Downloads

[Solved] Player data (Inventory, Enderchest and Achievements) erased when changing between worlds

joex92 opened this issue ยท 11 comments

commented

Everytime a player change between worlds the inventory and enderchest are erased...
i don't know why is this happening, the server was fine an hour ago before updating other plugins that have nothing to do with inventories and enderchest... what do I do?

commented

Information

Details

I was not able to reproduce my issue on a freshly setup and up-to-date server with the latest version of Multiverse plugins with no other plugins and with no kinds of other server or client mods.

Description
an hour before updating some plugins, everything was working good with no problems, but after updating, for some reason, player data (Inventory and enderchest) are completely deleted when changing between worlds (Nether and End included) either using /tp command or using portals. Also, it seems that the achievements are reset too, everytime I get inside the nether, I get the achievement...

Steps to reproduce
latest 1.16.4 update up to Jan 20th 2021 of the following plugins with no issues: BKCommonLib, MyCommand, LuckPerms, WorldEditSelectionVisualizer, Simple Elevator, SkinRestorer, Dimensions, Dangerous Caves 2, AutoPluginLoader (auto reload disabled), EconomyShopPlugin, FAWE, DiscordSRV, and all BentoBox plugin and addons. After updating these plugins, Multiverse begun acting up.

Expected behavior
player Inventory being deleted when changing between worlds

Screenshots
objects in inventory
2021-03-23_11 36 13

immediately after crossing through the nether portal
2021-03-23_11 36 18

commented

Did this issue happen after you update to Yatopia? Bcu Yatopia is know to be unstable and cause such weird issues.

commented

I've been using Yatopia for 2-3 years with no problems at all and even got better performance compared to Paper... I thought about that and tried Tuinity (which is why /version shows that) and got the same result... I'm going to try Paper, but I believe it will be the same result...

commented

tried with Paper:

items on Inventory
2021-03-23_11 54 40

immediately after crossing the portal
2021-03-23_11 54 51

commented

From your mv-inv setup, I dont see a group with worlds NewCorona and TheNether

commented

that's weird... because according to this:
2021-03-23_12 07 47
the group exists... the enderchest is on a global group with all worlds as a way to share items between worlds... (Bentobox worlds and lobby world)

commented

do I have to create the groups again?

commented

I suggest testing with only mvm plugins installed then, since your startup logs have plenty of non-mv errors. Also I gussed the worldname from your scoreboard, apparently its not the actual worldname known by mv?

commented

in the scoreboard I'm using the display name placeholder, not the world name placeholder... those errors you mentioned were there before the issue... so yeah... worst case scenario would be that the player data got kinda corrupted... but I don't believe that would be the case... but I'll try... although that would take me a bit of extra time...

commented

oooook... I believe I found the problem... so while thinking about the plugins I updated, there was 1 that I thought it could be the problem but it never was an issue before... and indeed it was... I feel like a moron for not reading each BentoBox addon when it was almost obvious... there's a BentoBox addon called InvSwitcher, seems to work almost the same as Multiver-Inventories but for its own worlds... I deleted that Addon and the issue was solved... i just downloaded all the addons and add them to the server because that addon wasn't there before... anyways, thanks... one of the best plugin developer supports for responding quick... I'll close it...

I guess the solution is: Don't use 2 or more multiworld inventory management plugins at the same time

commented

Please follow the issue template and check the console for errors.