Commands bug if players register same name with different casing. (offline mode)
d1One opened this issue ยท 6 comments
I get this error quite often. I try to ban someone that is online currently and get an error saying "Player-name not found, are you sure they exist?"
Log: http://pastebin.com/fPvTZJyv
Im spigot 1.8.8 Using latest release of BM, on a offline server with onlineMode: false
[15:14:34] [Craft Scheduler Thread - 218/INFO]: [BanManager] Requesting UUIDs for legendary12
Are you 100% sure online mode is set to false, as the above message in your log wouldn't display if it was.
Please try a developer build as well.
Yes I am. Im trying the latest dev build, it also bugs. I can now ban this specific user but when i use /bminfo it also gives the same error "not found, are you sure they exist"
Check your players table. It sounds like you might have multiple uuids for the same player name.
I checked the database, and the problem is BanManager ignores name casing even when onlineMode is set to false. So if a user logs in with the same name but different casing it register 2 times with 2 different UUIS.
http://i.imgur.com/ZWikQw4.png
BanManager doesn't officially support offline mode. That being said, it appears that the UUID generation baked into bukkit are case sensitive in offline mode which is what is causing this problem.