Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inventory breaks when player change their name #473

Closed
holli2801 opened this issue Oct 25, 2021 · 5 comments
Closed

Inventory breaks when player change their name #473

holli2801 opened this issue Oct 25, 2021 · 5 comments
Labels
Bug: Unconfirmed Unsure if the issue/bug is valid.

Comments

@holli2801
Copy link

When a player changes their name, only the inventory from the world they logged out will be kept. Every other inventory will be deleted and is lost.

@nicegamer7
Copy link
Member

Please fill out the issue template fully. We can't fix any bugs without the information asked for.

@nicegamer7 nicegamer7 added the Bug: Unconfirmed Unsure if the issue/bug is valid. label Oct 25, 2021
@holli2801
Copy link
Author

Information
Server version: 1.17.1 Paper version git-Paper-353

Full output of /mv version -p: https://j.mp/3BiHnwV

Details
When a player changes their username and rejoins the server, their inventory is only kept for the world they were last playing in.

Plugin list
CoreProtect 20.1
DeathMessages 1.3.8
Dynmap 3.2 beta 2
LuckPerms 5.3.53
Multiverse Core 4.3.1
Multiverse Inventories 4.2.2
ProtolLib
Themis 0.10.1
worldedit 7.2.6

Steps to reproduce

  1. log out in world with a independant inventory from the normal world
  2. change your username
  3. log back in and teleport to the main world
  4. inventory gets reset

Expected behavior
Changing the username shouldnt have an effect on any inventory

PS: I dont have the capacities to reproduce it without any other plugins, but since no other plugin touches the inventory, it shouldnt be affected.

@benwoo1110
Copy link
Member

benwoo1110 commented Oct 26, 2021

This is fixed in the latest dev builds (but only for future name changes). Once the name is changed, there is no way to revert or fix it.

@badrpc
Copy link

badrpc commented Jun 1, 2022

Something similar happened today to my son's account. He renamed it and when he logged in back into our local server his inventory was empty. I ended up renaming all files in plugins/Multiverse-Inventories which had the old nick in the filename and manually edited all files which included the old nick in contents and it looks like it worked. I think our server has Multiverse-Inventories 4.2.3, I'm not sure whether it includes changes mentioned above or not.

@zax71
Copy link
Member

zax71 commented Oct 22, 2023

Duplicate of #329

@zax71 zax71 marked this as a duplicate of #329 Oct 22, 2023
@zax71 zax71 closed this as completed Oct 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Unconfirmed Unsure if the issue/bug is valid.
Projects
None yet
Development

No branches or pull requests

5 participants