If a user has spaces in their name, automatically change them to underscores on join, so that they are not kicked for Invalid Name. This will allow Xbox account users (console and windows 10 edition) to play regardless of name.
He didn't say he wanted to use Xbox authentication he wants players with a space in their name to join too!
https://github.com/PEMapModder/Small-ZC-Plugins/tree/master/NameCorrector This is the plugin you are searching for
That would work however, it is very much outdated, I am on API 3.0 aplha 5 so i dont think it would work