Added the option to set minimum and maximum players.