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

Was this helpful?

  1. Tebex Control Panel
  2. Game Servers
  3. FiveM

FiveM (Server Wrapper)

PreviousFiveMNextMinecraft: Java Edition

Last updated 1 month ago

Was this helpful?

The Tebex server wrapper for FiveM Servers makes it easier to give players rewards and perks and simplifies the setup of your Tebex Store.

After setting up packages on your Tebex Store and within the wrapper itself, all you need to do is get your players to run /redeem [Transaction ID] and the wrapper will give the player in question their purchase(s).

Tebex Transaction IDs start with tbx- and look something like tbx-12345678-91011. Customers can find their transaction IDs on the payment complete page, as well as within their payment confirmation emails.

Installation Steps

Before you start, you'll need to setup your FiveM server and link it to your Tebex Store.

You can click any of the images below to see a full-size preview.

  1. Pop the script in your resources directory You may need to remove '-main' from the end of the folder name if this is present. The folder within your resources directory should be called 'nass_serverstore'.

  1. Import the codes.sql file to your database.

  2. Add ‘ensure nass_serverstore’ in your server.cfg

  3. Add the game server command below to each package you’d like to set up with the wrapper: purchase_package_tebex {"transid":"{transaction}", "packagename":"{packageName}"} Do not change the variables on this command, use it exactly as shown above. You’ll need to add it as a command that executes ‘When the package is purchased’. Additionally, press the ‘Settings’ icon next to the command and set the Require Player to be Online option to ‘Execute the command even if the player is offline’.

  4. Press ‘Update’ at the bottom of the Edit Package page to confirm the changes made.

And that's it!

All you need to do is get your players to run /redeem [Transaction ID] on your server when they've made their purchase.

Setup your packages within the wrapper itself - you can do this within the config.lua inside the wrapper’s script folder on your server. If you need assistance setting this up,

please check our support video above from 5:10 onwards.
There's a guide to doing this here.
Download the wrapper.