If there are less then I think it’s six players, you don’t get the full credit amount. If you are only two, you gain almost nothing. It’s to prevent people from farming on empty servers without really playing the game.
Yes, you gain less credits if teams are grossly uneven (like one team being two men or more down) not sure how much though.
