Errors on ban (1.8.3 - offline server)
kangarko opened this issue ยท 10 comments
Hello,
I got database errors when banning a player:
http://pastebin.com/j9kCC8qn
What in the world is wrong with that entry, do you have any idea?
The player is registered correctly in the table "bm_players"
Developer build #110
Looks like a player with that UUID already exists in your table, and you have multiple players with the same name. Most likely a case sensitive issue.
Can you do a search for Dionne1999 within your bm_players table and post the results here?
Oh, sorry I did not do a research for that. There were usernames, one with different case and two with same name but differed UUID.
74d8234bcab53f53b1cf6afb143f9dff Dionne1999 2988974443 1429885421
ac8b462150983365be1321995ba758a2 dIONNE1999 3578900713 1426950479
4ef6115efac24f07bf009c968c63016a Dionne1999 2130706433 1429278610
Notice I am running an offline mode server, to which extend is offline mode supported by this plugin?
This plugin supports very little in terms of offline mode, only the very basics.
In terms of online mode, it wouldn't be possible to have this situation arise.
For a fix for you, would you consider those 3 names differing in case different people or the same?
I do not really know how the plugin created two usernames with the same name. I can remove all of them since it will be recreated when the player joins.
Thanks for you help. Maybe you can add some check like this for offline-mode servers.