Cuberite Forum

Full Version: How to whitelist names with spaces in them
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
There's a guy who I need to whitelist, and his Minecraft name is actually two words. How do I add that guy? Putting it in "'s doesn't do it.

Nice new front design, but but I would really call this "Forum" and not "Discuss". Heart
I believe it isn't implemented because vanilla Minecraft doesn't support spaces. You could try changing this line to
local playerName = table.concat(a_Split, " ", 3)
and that should work.
If vanilla doesn't support it, why do names with spaces in them exist? That's odd.
I'm a little shy making these changes myself. I'd propose them as a permanent "fix" for this is it even makes sense. And at this time I'm not sure it does. If Vanilla doesn't have it.

Thank you very much for the help though. Smile
It does support spaces as in it shows them, but I don't think you can register with a space in your name.

Here ya go: [attachment=659]