set a cap for max amount of players