LogoLogo
  • Introducing Tebex
    • Store Overview
  • Pricing & Plans
    • Starter
    • Plus
    • Tebex Plan Payment Methods
    • Tebex Platform Fee
    • Plus Plan Expiry
  • Initial setup
    • General checklist for setting up a Tebex store
    • Identity Verification for Tebex Store Onboarding
    • Your Store Review
    • Tips for getting your store application approved
    • What is Intellectual Property?
    • Adult Content Guidelines
  • Tebex Control Panel
    • Dashboard
    • Payments
      • Manual Payments
      • Recurring Payments
      • Payment Methods
      • Checkout Settings
      • Fraud Analysis
      • Wallet
      • Payment Exports
    • Packages
      • How To Create A Package
      • How To Create A Category
      • How To Test A Package
      • Cumulative Packages
      • Downloadable Packages
      • Product Best Practice
    • Statistics
    • Customers
      • Customer Lookup
      • Banning
    • Webstore
      • Tebex Footer
      • Appearance
        • Custom CSS & HTML
        • Visibility
      • Sidebar Modules
      • Pages
      • Variables
        • Template Variables
      • Currency
        • Regional Pricing
      • Translations
        • Language
        • Custom Translations
      • Emails
      • Domains
        • Subdomain & Custom Domain
      • Notifications
        • Slack & Discord Notifications
    • Engagement
      • Coupon Codes
      • Sales
      • Creator Codes
      • Gift Cards
      • Community Goals
      • Abandoned Basket Recovery
      • Purchase Follow Ups
      • Upselling
      • Offers
    • Game Servers
      • FiveM
        • FiveM (Server Wrapper)
      • Minecraft: Java Edition
        • BuycraftX
      • ARK: Survival Evolved
      • Minecraft: Bedrock Edition
      • Space Engineers
        • Space Engineers Item IDs
        • How the Legacy Space Engineers Vanilla Integration Works
        • Mod Guidelines and FAQs
      • Unturned
      • Rust
      • Garry's Mod
      • Hurtworld
      • Counter Strike: GO
      • 7 Days To Die
      • Team Fortress 2
      • Conan Exiles
      • RCON (Legacy)
      • RCON Adapter
      • MySQL Depreciation
      • Product Deliverables Configuration
    • Discord Servers
    • Store Transfers
    • Team Accounts
    • Billing
      • Store Cancellation
  • Tebex Checkout
    • How Payments Work
    • Fees
    • Seller Protection and Chargebacks
    • Where and Why We Charge Sales Tax/VAT
      • Information for Accountants
    • Checkout Process
    • Paysafecard
    • Wallet
    • Wallet Restrictions - Deposits & Locks
    • Fund Withdrawals and Transfers
      • PayPal Withdrawal Fees
      • Bank Account Withdrawal Fees
      • Wire Transfer List of Countries & Fees
    • Checkout FAQ
    • Seller Support Guidance
    • Checkout Seller Actions
      • Changing Usernames
      • Changing Discord ID's
      • Resending Commands
      • Customer Lookup
      • Checkout Bans
    • Tebex Checkout for WHMCS
  • Subscribe @ Tebex Academy
  • Developer Documentation
  • FAQs
  • Growth and Success
    • 🛒Tebex Store Best Practices
    • 📆Sales Calendar - 2025
    • 🎁Gift Cards
    • 💬Community Engagement
    • ❓Frequently asked questions
    • 🚗FiveM Best Practices for Packages
    • 🥼FiveM Beta Assets Best practices
    • 📖Creator Success: Case Studies
      • 🚛Reducing Support Backlog through Restructuring the Team
      • 🔁Improving User Retention via “Loss Leader”
      • 📅Subscription Stability and Growth
  • Command Management
    • An Introduction To Commands
    • Command Troubleshooting
    • Resending Commands
    • Support for Epic Game IDs
Powered by GitBook
On this page
  • Custom Variables Video Guide
  • Creating A Variable

Was this helpful?

  1. Tebex Control Panel
  2. Webstore

Variables

PreviousPagesNextTemplate Variables

Last updated 12 months ago

Was this helpful?

The variables feature allows you request custom information from the customer when they add a product to their basket. You could, for example, request which colour name tag they would like when purchasing a VIP rank and this is the example we are going to use in this guide. Just like how you would use the {username} variable when creating package commands, this feature allows you to create your own variables, such as {colour} in this instance.

Custom Variables Video Guide

This video will explain and walk you through creating a package with custom variable options. This is an ideal system to use for many servers, so you can simply use a drop-down menu instead of having to create many different packages. As an example, this is particularly useful for servers running game modes like Pixelmon, due to the many customisation options available for that game mode - but this is really suitable in a wide variety of situations, servers and game modes, use your imagination and get creative!

Creating A Variable

  1. Go to Settings > Variables.

  2. Click Create Your First Variable.

  3. Enter the identifier of your variable - this is what you will use in your package commands (such as {colour}).

  4. Enter the description of your variable - this is what the customers will see when presented with the selection.

  5. Select the type of your variable, we are going to choose Dropdown for this tutorial. We have several other types such as Email Address, Username, Alphanumeric, Numeric, etc.

Because we are creating a variable which asks which colour name tag the player would like with the rank, we are going to add three options below. To add your first option, click Add Option.

Each variable option has the following:

  1. Name - This is what will be displayed to your customer.

  2. Value - This is what the {colour} variable (As defined previously) will be replaced with when the commands are executed on your server.

  3. Price - If you want to charge an additional amount if the customer selects this option you can enter it here.

Following on with our example our options list now looks like the following:​

Once you are happy with your variable, click Create.

You then need to add this variable to whatever packages you like. You can do this by editing each package and selecting this variable on the package configuration page.

In your package commands section, you can now use the {colour} variable as you would any other variable that we provide. Once your customer purchases the package we will replace the {colour} variable with the option they chose.