-
Bug
-
Resolution: Fixed
-
Minecraft 1.5.2, Minecraft 1.6.1, Minecraft 1.6.2
-
Linux
-
Unconfirmed
Minecraft server appears to presume a case-insensitive filesystem (Windows, most OSX)
For player data storage on Linux, this has the following observed effects in the /<worldname>/players/ directory where the <player>.dat files are stored:
- for offline players, name Foo is distinct from foo and are thus separate players.
- for players with a Mojang account, account name Bar as example: somewhere the server lowercases the name before save so it stores bar.dat, but most of the time it uses Bar.dat - this is indicated by the fact that both are created but Bar.dat tends to have the most recent timestamp.
My suggestion for fixing all this, without breaking existing environments (presuming only the two above behaviour patterns exist, I am not aware of others)....
logic flow (in pseudocode) as follows:
On login
if exists (Bar.dat)
else if exists (bar.dat)
{ read bar.dat }...
always write bar.dat
So after transition, the server always uses lowercase(name) for filesystem operations.
This should provide a safe transition.