If you can't join the server because of bad name you need to add a player name before joining. Below are pics showing where to do this.