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

Add method to only get existing profiles #495

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

benwoo1110
Copy link
Member

Fixes #494

Players that are disallowed from the server is still processed in AsyncPlayerPreLoginEvent. Note that for some reason getLoginResult() is still Result.ALLOWED as server/plugin whitelisting and banning may be processed after, in PlayerLoginEvent instead. This creates a lot of player profiles that won't even be joining the server.

So simple solution, just get the profile that is alr present in the filesystem for username migration, if it doesn't exist, nothing to migrate anyways.

Helps reduce unnecessary files created
@benwoo1110
Copy link
Member Author

btw, test build: Multiverse-Inventories-4.2.3-SNAPSHOT.zip

@SlimeDog
Copy link

This is still an issue. With the recent IP scanners, I'm seeing more of these. Could this PR be merged and released?

Paper 1.20.4-342
Multiverse-Inventories 4.2.7-pre

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

Successfully merging this pull request may close these issues.

Player generated files do not need to successfully enter the server
2 participants