Tebex.CSharp
1.1.0
dotnet add package Tebex.CSharp --version 1.1.0
NuGet\Install-Package Tebex.CSharp -Version 1.1.0
<PackageReference Include="Tebex.CSharp" Version="1.1.0" />
<PackageVersion Include="Tebex.CSharp" Version="1.1.0" />
<PackageReference Include="Tebex.CSharp" />
paket add Tebex.CSharp --version 1.1.0
#r "nuget: Tebex.CSharp, 1.1.0"
#:package Tebex.CSharp@1.1.0
#addin nuget:?package=Tebex.CSharp&version=1.1.0
#tool nuget:?package=Tebex.CSharp&version=1.1.0
Tebex C# SDK
These are the official C# mappings for Tebex APIs. Tebex is a gaming-focused payments processor that allows you to easily set up your game or backend for monetization.
Installation
- Clone this repository to a folder on your PC, or use a pre-built DLL from our Releases.
- Add Tebex-CSharp as a Dependency to your solution.
Features
- Headless API Integration: A complete C# implementation for Headless API used for retrieving packages and creating baskets.
- Plugin API Support: A complete C# implementation for Plugin API, which enables automated command execution after payment on a game server.
- Example Plugin: We've included an example TebexCorePlugin for to demonstrate how a basic Tebex integration should operate. This is a feature-complete plugin that executes commands on a game server.
What is Tebex?
Tebex allows game studios and/or players to set up a digital storefront and sell Packages. Packages can include deliverables such as Game Commands, License Keys, Downloads, and more.
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
Tebex C Sharp SDK
This repository serves as our full Tebex SDK for projects using C#. It is designed to be forked and modified for your particular requirements.
Integration Guide
A minimal Tebex integration is expected to:
- Connect to a store via a secret key accessible from your Tebex account
- Allow the player to browse and select packages in that store, or, using the webstore only
- Add those packages to a Basket
- 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 repository includes an example TebexCorePlugin that will execute game commands.
For more advanced delivery methods, Tebex also provides Webhooks to allow fully custom handling of purchases on your own backend.
1. TebexHeadlessAPI
The Headless API allows you to browse a store and build a basket of items that can be purchased by the player. These are the same APIs used on our store websites.
2. TebexPluginAPI
The Plugin API allows you to check for deliverables that are due / purchases that have been made and then mark them completed once delivered successfully via a command.
3. TebexPlugin
Our implementation in TebexCorePlugin details how your game should interact with our APIs to deliver purchases in-game via console commands.
This assumes we are in a server environment that the game studio or the store creator controls.
If your setup does not deliver commands in-game, you can use our Webhooks to receive real-time purchase notifications and events on your own backend to deliver purchases.
Contributions
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
Support
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
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Newtonsoft.Json (>= 13.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.1.0 | 422 | 6/10/2025 |