> For the complete documentation index, see [llms.txt](https://s2tools.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://s2tools.gitbook.io/docs/redeemer-v2/configuration.md).

# Configuration

In this section, you will have a detailed explanation of all configurable options.

## Config

```yaml
License: "ENTER_YOUR_LICENSE_KEY"

# VCC Settings
Max_VCC_Uses: 4 # How many times a vcc can be used before its removed


CheckBilling: false # Check if token has any linked payment sources (Disable if UseCardOnToken is enabled)
RemoveVCCOnFail: false # Remove VCC From token after task has failed
RemoveVCCOnSuccess: false # Remove VCC From token after task has completed

UseCardOnToken: false  # Used Link Card On Token
UseLinkedPromo: false # When enabled, it uses promos and tokens in format token|promo

# Discord Bot
BotSettings:
  Enabled: false # Set to true to use the bot
  Token: "ENTER_BOT_TOKEN" # Discord Bot Token
  LogChannel: "ENTER_LOG_CHANNEL_ID" # Channel ID For Logging Sessions

WhitelistErrorsFromCardRemoval: # Whitelist these errors from marking the vcc as used
  - "Cannot redeem gift"
  - "500: Internal Server Error"
  - "This gift has been redeemed already"

# SmartSleep Settings 
Smart_Claim_Amount: 0  # Sleep after x amount of claims  (set to 0 to disable)
Smart_Sleep_Time: 20  # Sleep x seconds before continuing (set to 0 to disable)

# Pause after max auth error
Max_Auth_Retries: 1  # Max auth errors before stopping (set to 0 to disable)
Max_Auth_Sleep: 120  # Sleep duration after max auth errors (set to 0 to disable)

# Pause after redeem
Pause_Redeems_After: 0  # Pause after Redeem count is reached (set to 0 to disable)
Pause_Redeems_Duration: 600  # Sleep duration after max redeems (set to 0 to disable [to stop])

# Customization
Customization: # Watermark Token After Redeem (Use With Caution)
  Enabled: false
  Password: ""  # Set password, set to "" to disable
  DisplayName: "s2wavy"  # Set display name, set to "" to disable
  AvatarSettings:
    ApplyBeforeRedeeming: true # Sets Avatar Before Redeeming, To Bypass "Cannot Redeem Gift Error"
    Avatar: "logo.png" # Set avatar file name (Assets/Avatars), set to "" to disable
  Banner: "banner.png"  # Set banner file name (Assets/Banners), set to "" to disable
  Bio: "discord.s2tools.uk"  # Set bio, set to "" to disable

# Captcha Settings # DONT USE (POINTLESS, CANT REDEEM ON CAPTCHA TOKENS)
CaptchaSettings:
  Enabled: false 
  Service: "razorcap"  # [razorcap]
  Key: "ENTER_CAPTCHA_KEY"

# Custom Billing
CustomBilling:
  Enabled: true  # I recommend setting this to false unless you know what you are doing!
  PersonName: "Lora Kompe"
  Address: "123 comba drive"
  Address2: ""
  City: "ompala"
  State: "randa"
  Postal: "PO8 0BT"
  Country: "GB"  # Usually 2 letters | United Kingdom is GB (https://gist.github.com/jylopez/7a3eb87e94981a579303a73cf72a5086#file-stripe_country_codes-js)


# Loggging - Instead of having log levels, enjoy having full control of all the logs! (Colour must be a hex)
Logging: 
  Sleep: 
    Enabled: true
    Colour: 'FFC000'
  AddingCard:
    Enabled: true
    Colour: '0048ff'
  AddedCard:
    Colour: 'FFFF00'
  Redeeming:
    Enabled: true
    Colour: '91aaff'
  Redeemed:
    Colour: '0dff00'
  RemoveCard:
    Enabled: true
    Colour: 'fe7e0f'
  TaskLogs: # start task, task finish
    Enabled: true
    Colour: '00FFFF'

  
# Mask Settings (Hide Part Of The Value)
MaskSettings:
  Token: true
  VCC: true
  VCC_Full: false
  Promo: true

# Miscellaneous Settings
Timeout: 60
SkipExtras: false
OutputDifferentFolders: true  # Make a new folder for each session
Debug: false
Proxyless: false # Recommend to use proxies (set to false, input proxies into proxies.txt user:pass@host:port format)
CardIntegration: false # You can integrate this with your vcc gen, it will wait for vccs to be entered in vccs.txt
```

## Resources

<table data-column-title-hidden data-view="cards"><thead><tr><th data-card-target data-type="content-ref"></th><th data-hidden></th><th data-hidden></th><th data-hidden></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><a href="/docs/redeemer-v2/resources.md">Resources</a></td><td></td><td></td><td></td><td><a href="https://content.gitbook.com/content/DQcxFZXv4HqFCxjWaDKh/blobs/5COquKCsSBYLIHgKSmmj/resources.png">resources.png</a></td></tr></tbody></table>
