Skip to content
This repository has been archived by the owner on Apr 2, 2022. It is now read-only.

luckperms persistence does not remember users after server restart #11

Open
vorburger opened this issue May 20, 2018 · 2 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@vorburger
Copy link
Member

Found another problem while working on #10 :

The thing I did to make luckperms' YAML persistent on the PV does not seem to be working.

When I promote players, that is lost after a restart.

@vorburger vorburger added the bug Something isn't working label May 20, 2018
@vorburger vorburger self-assigned this May 20, 2018
@vorburger
Copy link
Member Author

I think I misinterpreted what is going on here... persistence works, BUT we can only promote if a Player is online? It probably works if the server remains up, but after a restart, which we do frequently due to CI/CD, LuckPerms looses previously connected players list, it seems. For example:

/lp user leviator68 showtracks

does not work after a server restart, says: "[LP] A user for leviator68 could not be found."

After leviator68 joined once, as long as the server remains up, even if that player disconnects, then it works - and shows that Player's correct track.

LP probably optimizes to not keep all players in memory? Smart, but not very practical, for us.

@vorburger vorburger changed the title luckperms persistence (currently file based) not really working luckperms persistence does not remember users after server restart May 20, 2018
@vorburger
Copy link
Member Author

TODO: Open an issue and contribute a fix to https://github.com/lucko/LuckPerms/issues ...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant