Tebex supports direct integration with Garry's Mod / Gmod by installing our official plugin onto your server.

You can download the Garry's Mod plugin by going to the plugins section of the control panel.

How To Install The Plugin On Your Garry's Mod Server

  1. Download the latest Tebex Gmod Plugin from the link above or by going into the plugins section of your Tebex Control Panel.
  2. The downloaded file is a zip file - extract this file to your computer. This will create a directory called 'tebexgmod' containing a number of other files and sub-directories.
  3. Copy the entire directory into the 'garrysmod/addons/' directory on your server (including the tebexgmod directory, the full path to the addon is garrysmod/addons/tebexgmod/).
  4. If your server is already running the plugin should load automatically.
  5. Enter the following command in your Garry's Mod server console  (Replace the secret key with your secret key found on the servers section of the control panel. Click edit on your server to find the secret key):
tebex:secret <Your Secret Key>


That's everything setup! A message will appear giving you confirmation of a successful installation. To check if the plugin has been installed enter the tebex:info command and it will show you a list of the details related to your server and webstore.

Webhooks / RCON / MySQL Integration

You can also integrate your game server or website using our MySQL, RCON or Webhook integrations.

Important Notes

By default the player 'buy' command is !donate - this can be changed by editing the generated config.txt file in the data/tebex directory. Also please note that due to the way timers work in GMod by default, the command checker will not start running after a server restart until a player has joined your server. If you want the command checker to start running immediately on server restart, you need to edit your server config to set sv_hibernate_think 1 

Creating Your Packages

You now need to think about the kind of packages you would like to sell on your server. Remember that your packages use console commands, so whatever you are able to issue via console command is what you are able to sell. You will need to go :

Webstore > Packages

At this point, you may find it very useful to read through this guide on creating packages on your webstore : How To Create Packages On Your Webstore.
To help you get started, we have created an example package automatically on your webstore. When you click on a package you will be taken to an editing page, where you can customise your package and enter your commands. There are many options on this page, but don't feel daunted, and take your time to explore and read through each feature to see what you would like to use.

Commands

You will now be at the stage where you need to create commands. Please read through this guide on commands before you begin : How Commands Work On The Tebex Platform

Please remember that you will be using console commands for your packages when you consider what to type in this field: 

  • Initial : Enter the commands to give the items to the player
  • Refund : What do you want to happen when a player is refunded? Remove their perks?
  • Chargeback : What is your policy? Do you ban the player for charging back?
  • Expiry : Do you remove the perks when the time is up?
  • Renewal : Did a player renew their subscription? Do you need to renew their perks?

We are not able to give individual help with your commands, so please make sure you look at relevant wikis and information regarding the admin commands available in the game.

Testing Your Packages Work

We highly recommend that you test out your packages before releasing them for sale. You can check out our handy guide on how to do this here : Using Manual Payments To Test Your Packages

Please be aware that packages are not issued immediately after purchase, and there may be a wait from the time the package is purchased from the execution time of the commands. This can depend on your level of plan, which is normally as follows : 

Starter Plan : around 15 minutes polling time.
Premium Plan : around 10 minutes polling time.
Ultimate : around 5 minutes polling time.
Enterprise : around 2 minutes polling time.

Customising Your Webstore

Once you have created your packages, you may wish to consider how you would like to fully customise your webstore to make it stand out and be really unique from others. Do you want to change how it looks? Want to move things around? If you want to make it truly unique you will need to read this guide here for more help : Customising The CSS / HTML Of Your Webstore 

Please be aware that custom templates are only available on the Ultimate plan and above. We are not able to give you individual help with creating a custom theme or template, if you don't know how to create one we recommend you consider commissioning a designer to create one for you. We are not able to recommend designers for you.

Creating A Payment Gateway

Your customers need to be able to pay you! You will need to set up your gateway so that purchases can be completed and funds sent to your account. You will need to consider which gateway you wish to set up, as we support many and some are easier to set up than others.

Our most popular gateway is PayPal, however we have guides available for all of our gateways, including Mollie, PayGol, PaymentWall, Paysafecard, and more. You can find guides for our other gateways in our Knowledge Base. 

The Basics

This should have helped you with the basics of your webstore, and getting set up. Please look around your control panel and explore the options that you have available as there is much more that is not included in this beginners guide. If you feel there is something else we can add to this Getting Started guide that would be helpful, please let us know.

If you're struggling and would like to ask some questions, please contact customer support and we'll do our best to assist you where we can!

Did this answer your question?