Started setting up function on server for automatically assigning players numbers.