When the server starts up, the whitelist is reformatted to only contain lowercase names.
This is a problem when one is using http://www.minecraft.net/skin/<user>.png.
Either the whitelist should not be overwritten or minecraft.net/skin/<user>.png ought to lowercase the input.
Linked issues
Comments 11
For third party scripts that want to use the whitelist.
e.g.;
<?php
$players = explode(trim(file_get_contents("whitelist.txt")));
foreach($players as $player){
echo "<img src='http://www.minecraft.net/skin/$player.png' />\n";
}
?>
This only works for usernames that are lowercase.
Here's a working example as well;
https://github.com/josefnpat/minecraft_server/blob/master/www/index.php#L93
That's a good idea for a workaround, but it doesn't include players who are on the white list that have not logged in, and then players that were removed from the white list but have logged in.
Also, this bug doesn't have anything to do with https://mojang.atlassian.net/browse/MC-3834, please remove the link.
I suppose that if the player hasn't logged in there isn't much one can do, but if they have you could do something like:
$player=`grep -i $player server.log | head -n 1`
@CubeTheThird That would be a good workaround, but it is an excessive solution to a simple problem, especially considering that you would have to loop it.
@Kumasasa Good point.
Would it be possible to have `minecraft.net/skin/<user>.png` convert to lowercase names then?
@Kumasasa
I misread the second half of your post.
This would be an excellent fix for both this ticket and MC-3834.
Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
This ticket is incomplete without the requested information, no response has been received within a reasonable time and we are assuming the issue has been resolved. If you are still experiencing this issue, we can reopen it at your request.
Please review the guidelines before reporting issues.
Of course does http://www.minecraft.net/skin/kumasasa.png not work, but http://www.minecraft.net/skin/Kumasasa.png does work, but what has this to do with the whitelist.txt ?