Restrain valid name for a player.