Tebex provides a monetization and donation platform for game servers, allowing server owners to manage in-game purchases, subscriptions, and donations with ease.
This plugin acts as a bridge between your Rust game server and the Tebex platform, enabling you to offer a wide range of virtual items, packages, and services to your players.
As this is an Oxide plugin, it is also compatible with 7 Days to Die.
The following commands are available through the Tebex Rust Plugin:
/tebex.secret <secret>
: Set your server's secret key/tebex.sendlink <player> <packageId>
: Send a purchase link for a package to a player./tebex.forcecheck
: Force run any due online and offline commands./tebex.refresh
: Refresh your store's listings./tebex.report
: Prepare a report that can be submitted to our support team./tebex.ban
: Ban a player from using the store. Players can only be unbanned from the webstore UI./tebex.lookup
: Display information about a customer.
/tebex.help
: Display a list of available commands and their descriptions./tebex.info
: Display public store information./tebex.categories
: View all store categories./tebex.packages
: View all store packages./tebex.checkout <packageId>
: Create a checkout link for a package./tebex.stats
: View your own player statistics in the store.
To install the Tebex Rust Plugin, follow these steps:
- Download the latest release of this plugin from Tebex.io, or choose the latest Release from this repository.
- Upload the plugin .cs source file to the
oxide/plugins
directory of your game server. - Start the game server. If it is already running, it should automatically load the plugin. If not, run
oxide.reload Tebex
to load the plugin.
If you wish to contribute to the development of the plugin, you can set up your development environment as follows:
Requirements:
- Python 3
- dotnet
- Oxide
Setup Instructions:
- Clone the repository to an empty folder.
- Download Oxide and unzip it.
- Add the assemblies
Oxide.Core
,Oxide.CSharp
,Oxide.MySql
,Oxide.Rust
, andFacebunch.UnityEngine
,Assembly-CSharp
as a minimum to the project.
Oxide plugins are basic .cs source files - we do not build a .dll or an executable. Instead, we combine our source files
together then ensure it can compile and run on a real server. You can configure a test server in BuildConfig.py
- Ensure your development environment is properly set up per the instructions above.
- Using
BuildConfig.py.example
, make aBuildConfig.py
and fill the appropriate values. - Run
python3 Build.py
.
This will merge any source files configured in BuildConfig.py
together into the final plugin in Build/Tebex.cs
The full build and test suite can be ran sequentially with these additional arguments:
--DeployTest
: Runs a deployment script, ideally uploads to a test server.--TestRemoteReload
: Test connect to see if a remote Rust server can reload the plugin.--OpenDevConsole
: Open interactive RCON console on a test rust server.
Each run of the build script will always merge and output the final plugin source file.
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