Jagex uses bitmasks for this bro
. What richard is actually saying they'll bitwise or the flags into a bitmask.
Each option being set has a flag, for example no movement option will have a corresponding flag with a value in the range of 2^n (1, 2, 4, 8, 16 etc). If you want to set multiple options you'll have bitewise or all values together into a bitmask.
In the information you provided I see for example that '286, 16 // No ranged selected' is the value for no range and '286, 1 // No forfeit selected' for no forfeit. If you want the no forfeit and no range options set you'll simply have to do this:
Code:
public static final int FORFEIT_FLAG = 1;
public static final int RANGED_FLAG = 16;
int config = FORFEIT_FLAG | RANGED_FLAG;
Which would be 17. Looking at your information this is correct: '286, 17 // No ranged and no forfeit'