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

player data resets on server after closing the game entirly and reopening #390

Closed
tuxinal opened this issue Aug 25, 2020 · 9 comments
Closed

Comments

@tuxinal
Copy link

tuxinal commented Aug 25, 2020

from my understanding upon starting minecraft the game gives you a unique id for being identified when opening a multiplayer game the launcher removes that id every time you open (or close i haven't really checked the code) the launcher and minecraft gives you a new id and any server that you have opened will not recognize you and boom your stuff is gone
i am not logged in to xbox account for... reasons i am not sure if this will happen if i have logged in to my xbox account

also i am using the flathub version

@ChristopherHX
Copy link
Member

ChristopherHX commented Aug 25, 2020

I cannot reproduce this with offical dedicated server 1.16.20.03 and flatpak on ubuntu 20.04 with and without xboxlive

I know the offical server software blocks persistent per user permission for non xboxlive players, which don't have a xuid log of the server.

@tuxinal
Copy link
Author

tuxinal commented Aug 25, 2020

its not user permission its the entire inventory and position and all of that stuff gone.

make sure you completely close the launcher and reopen it

also i did copy everything from the appimage data folder (~/.local/share/mcpelauncher) to the flathub data folder (~/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/) could that be the problem?

@tuxinal
Copy link
Author

tuxinal commented Aug 25, 2020

i have cleared out the flathub versions data folder(only leaving the versions and profile directory) and also tried a fresh BDS hosted on my laptop and the issue still persists

@ChristopherHX
Copy link
Member

make sure you completely close the launcher and reopen it

I don't unserstand, I killed both the server (https://www.minecraft.net/en-us/download/server/bedrock) and the client (https://flathub.org/apps/details/io.mrarm.mcpelauncher) completly.
I only loose my inventory if I..

  • ...switch my xbox account to another one (switch back restores)
  • ...change my username ingame (switch back restores)
  • ...play one a weird featured server

Sorry I'm pretty confused.

@tuxinal
Copy link
Author

tuxinal commented Aug 25, 2020

are you aware of where this ID is stored?

@ChristopherHX
Copy link
Member

ChristopherHX commented Aug 25, 2020

Oh I got it, I did this and never had this issue again.
flatpak --user override --persist=../../../data io.mrarm.mcpelauncher

This creates a ~/data folder in your user folder.

@tuxinal
Copy link
Author

tuxinal commented Aug 25, 2020

where should i run this? in the home folder?

@ChristopherHX
Copy link
Member

ChristopherHX commented Aug 25, 2020

anywhere on your pc, flatpak relative.
your cwd is irrelevant

Somehow a symlink to flatpak data would do it for ng flatpak

@tuxinal
Copy link
Author

tuxinal commented Aug 25, 2020

now its working! probably should specify that somewhere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants