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 not cleared for players who are not on server #2

Open
DraTrav opened this issue Mar 13, 2024 · 2 comments
Open

Inventory not cleared for players who are not on server #2

DraTrav opened this issue Mar 13, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@DraTrav
Copy link

DraTrav commented Mar 13, 2024

If a player is on the server and dies, and the world resets, the player who was not on still retains their inventory.

@qixils qixils added the bug Something isn't working label Mar 13, 2024
@qixils qixils self-assigned this Mar 13, 2024
@qixils
Copy link
Owner

qixils commented Jun 17, 2024

Offline players are difficult to handle in general as the API for them is basically non-existent for various reasons. The plugin is thus primarily being developed for shorter play sessions and challenges where players aren't necessarily expected to logout, but regardless I'll look into trying to locate and clear all the offline player data.

@DraTrav
Copy link
Author

DraTrav commented Jun 18, 2024

If I can make a suggestion, on world reset you should just be able to delete the "player" folder on reset,to do handle this. Though I personally have no clue how possible that is with a paper plugin.

@qixils qixils removed their assignment Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants