This is the official Tebex plugin for Unity. It implements our Tebex C# SDK, which is designed to be forked and modified to your particular requirements.
Tebex is a gaming-focused payments processor that allows you to easily set up your game for monetization.
- Create a
Plugins
folder in your Unity project's assets. - Place a compiled
Tebex-CSharp.dll
into yourPlugins
folder: Tebex C# SDK Releases - Place the
UnityTebexPlugin.cs
in your Unity project's assets, such as in aScripts/
folder - Create an empty GameObject to contain the Tebex plugin.
- Attach
UnityTebexPlugin
as a component to the new game object. - Start the game and monitor console for details. Tebex should connect and pull information about the connected store.
Tebex allows game studios and/or players to set up a digital storefront and sell Packages. Your storefront may be a website or fully integrated into your game using Headless API.
Originally known as Buycraft, Tebex supports an expanding library of games, including:
- Minecraft
- Rust
- ARK: Survival Evolved
- FiveM
- Garry's Mod
- Unturned
This repository serves as our full Tebex SDK for the Unity Engine, allowing for quick and seamless integration into your game. It is designed to be forked and modified for your particular engine version and your game's requirements.
The example plugin here was built for Unity 6000.0.47f1
.
A minimal Tebex integration is expected to:
- Connect to a store via a secret key accessible from your Tebex account
- Add a player's desired packages to a basket, or direct the player to the relevant purchase area
- Direct the user to check out (performed in the browser)
- Deliver purchases to the player after payment in some way
Most typically, purchases are delivered via Game Commands (such as adding money, adding items, etc.) that are queued and executed every few minutes. This is implemented in TebexCorePlugin from our Tebex-CSharp SDK.
For more advanced delivery methods, Tebex also provides Webhooks to allow fully custom handling of purchases on your own backend.
We welcome contributions from the community. Please refer to the CONTRIBUTING.md
file for more details. By submitting code to us, you agree to the terms set out in the CONTRIBUTING.md
file
This repository is only used for bug reports via GitHub Issues. If you have found a bug, please open an issue.
If you are a user requiring support for Tebex, please contact us at https://tebex.io/contact