Early next year we will be allowing users to create a username with an underscore in it. They will be able to do this at account creation or by buying a name change. The new rule is that you can have one underscore in your name, but not at the beginning or the end. The username must be 3-20 characters long.
Please update your games to be ready for this change if username is a variable you’re relying on, or you are using underscores in some weird way. In general we suggest keying off UserID, because it won’t change.
I was talking about usernames without an underscore.
It’s just, if it’s 3 characters or more, I can write one string pattern to match any username:
“%w+_?%w+”
The purpose of this is to open up new names for people to use. Sniping names because “they look cool” goes against that, and prevents people from using the name legitimately. Please don’t create accounts / change usernames just for the sake of “I own this cool name and nobody else can use it!”
It’s been a while but I wanted to refresh this topic. Please make sure your games are ready to accept usernames with underscores in them, if you use usernames in your code. It is recommended to use UserIDs instead.