Helios Rust Console Bot Documentation

Automated Gift Cards

Let Helios create Tip4Serv gift cards automatically with /t4s and the GIFTCARD parse — great for battle pass and treasure rewards.

Last reviewed
Maintained by
Helios RCE

Don't have a Tip4Serv store yet? Sign up here →

Overview

Helios can create Tip4Serv gift cards automatically and deliver the code to the player — for example as a battle pass reward, a treasure chest drop, or any command-style reward. Premium only.

Commands Covered

CommandWhat It Does
/t4s setup-gcSave your store's private Tip4Serv API key (needs create-discounts permission)
/t4s feed-dcSet the Discord channel where gift-card logs are posted

Setup Flow

  1. In your Tip4Serv dashboard, create an API key with the create-discounts permission.
  2. Run /t4s setup-gc key: and paste the key. Helios stores it encrypted.
  3. Run /t4s feed-dc channel: to choose where gift-card logs go.
  4. On a Tip4Serv product, add the linked Helios Bot server, put the GIFTCARD parse in Cmd, and choose Execute. No Discord reward channel is needed. You can also keep existing Discord parses and supported Helios command rewards.

Normal store connections are available to Free and Premium servers. Creating gift-card codes is a separate Premium feature and also requires a Tip4Serv store/API key eligible to create gift cards. Connecting the store does not configure this key for you.

Parse Generator with a 10 USD gift-card reward expiring after seven days

GIFTCARD Parse

Format {discord_id} [GIFTCARD] [{Amount}] [{Name}]

Optional extras (either order): {discord_id} [GIFTCARD] [{Amount}] [{Name}] [{Expiration}] [{Currency}]

Breakdown

  • GIFTCARD tells Helios to create a Tip4Serv gift card through your API key.
  • {Amount} is the gift-card credit, like 10 or 9.99.
  • {Name} is the gift-card name shown to the player.
  • {Expiration} is optional. Use a number and a unit: h for hours (24h), d for days (7d), m for months (6m), or y for years (1y). Leave it out for a card that does not expire.
  • {Currency} is an optional 3-letter code like USD. The Parse Generator offers a currency dropdown and checks the amount (more than 0, at most two decimals) and the card name (up to 200 characters, no square brackets or line breaks).

Example {discord_id} [GIFTCARD] [10] [Battle Pass Reward] [7d] [USD]

How to get your API Key

  • Go to your Tip4Serv Dashboard
  • Click on Developers -> API Keys
  • Click on Create API Key
  • Choose Discounts under Create & Read gc setup
  • Do /t4s setup-gc and paste in the Key
  • Next do /t4s feed-dc and set it to an admin channel
  • Add your linked Helios Bot destination to the product, paste the GIFTCARD parse in Cmd, and select Execute. See direct parse setup.

Notes

  • For direct delivery, use the Helios Bot command row with Execute. Gift cards use the existing encrypted API key and are delivered by DM. A blocked DM does not cause another card to be created.
  • The player receives the gift-card code; every created card is logged in your /t4s feed-dc channel.
  • Requires Premium and Administrator permission to configure.
  • The API key is stored encrypted and is never shown again after setup.

Test and troubleshoot

Use one small test reward. Check the gift-card log and the player's DM; the card code stays out of public replies. A successful code creation with a blocked DM is different from a failed API request. Do not create another code before checking the outcome.

If Tip4Serv returns 403, check the key's create-discounts permission and the store's gift-card eligibility. A Tip4Serv PRO eligibility error is separate from Helios Premium and from a missing API permission.

Documentation image
100%