The code on the card you saw when you tried to join. Capitals, spaces and the hyphen do not matter. Codes last 10 minutes.
The optional boxes only take effect if the server owner turned them on.