-
-
Notifications
You must be signed in to change notification settings - Fork 124
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
Case-senstive search of user profiles #1219
Comments
That's very good point. I think this would mean we should make the DB search case-sensitive, because the UUID will be different and this behavior simulates more a unmodified offline server. However, this has downside a bad user experience, because I assume auth plugins including What is your opinion? |
I think, that most plugins are not made having FastLogin in mind, but more considering standard offline minecraft server behaviour, so it should be kept by default. UUIDs on offline server should be the same before installing FastLogin, after installing it (when configured for offline UUIDs) and after removing it. The problem with different inventory and AuthMe account would also appear when having AuthMe as the only plugin on the server (without FastLogin). I think though, that there could be a customizable functionality in FastLogin similar to |
What happened?
After switching from Bungeecord to Velocity we have observed weird behaviour.
Some premium players had their UUID overridden to a different UUID than before. It appears, that it might be possible, that username saved in database will differ from the one the player uses by case-sensitivity. For example: in DB there might be a user
notch
, but the joining one isNotch
. The player profile will be matched, as searches in DB are case-insensitive. Bungeecord will generate UUID from the current player username, but Velocity from the player profile saved in DB.Code in Velocity
UUID offlineUUID = UUIDAdapter.generateOfflineId(playerProfile.getName());
Code in Bungeecord
UUID offlineUUID = UUIDAdapter.generateOfflineId(username);
Quick fix would be to modify the logic for generating UUIDs for Velocity, but it does not solve the issue, that the username in DB might differ by case-sensitivity.
Steps to reproduce
I have not checked, how it happenned, that the username differs in DB. I suspect, that this scenario is possible:
notch
Notch
Plugin list
No response
Configuration file
No response
Server log
No response
Plugin version
master branch
Platform
Velocity
Relevance
I tried the latest build
(build refers to development builds not necessary a release version; i.e. v1.10 is out of date)
I checked for existing tickets -
If there are, please vote them with a thumbs reaction and not create new ones
The text was updated successfully, but these errors were encountered: