How to whitelist names with spaces in them
#1
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
Reply
Thanks given by:
#2
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.
Reply
Thanks given by: Jammet
#3
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
Reply
Thanks given by:
#4
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:
.lua   whitelist.lua (Size: 13.36 KB / Downloads: 320)
Reply
Thanks given by:




Users browsing this thread: 3 Guest(s)