Hi everyone! As we everyone know, mojang is starting to migrate its accounts to microsoft, which allow players/users however you want to say it, have spaces in their nicknames.
NOTE: GeyserMC doesn’t helps, as in bedrock edition, you can also use name with spaces, and for the ones how don’t know, GeyserMC allows bedrock, ps4 and other platforms minecraft users, to join java edition servers
This is causing a lot of issues for plugins, as this was not completely expected. My idea is to paper try to fix that, modifying the client name before he joins, replacing any space or blank character, with a “_”, invisible in game, but visible in code, so when you kick for example a player called “I have space”, runing “I_have_space” so it would do the trick