ðTebex Authenticator
If you want to connect your server with your Tebex store and sell character slots, this article will help you
Whenever possible, create packages of only the slots you will sell. Do not sell for slots that are already open.
Connecting Tebex to the server
Create a tebex account, login if you have
After logging in to your account, let's go to the page called "Game Servers" from the left side of the page.
Click the "CONNECT GAME SERVER" button at the top right of the page.
Let's choose the place named "PLUGIN" from the page that comes up and continue.
Then let's choose your server name and in which packages these sales will be active, but "SELECT ALL" will help you.
After continuing, it will give you an sv_tebexSecret key on the page that opens in front of you, let's copy it and paste it anywhere in server.cfg, but let's make sure that this code is on the top lines. Then let's start the server.
When you start the server, the text "NOT CONNECT" on the top right of the page will change to "CONNECT" after a few seconds. After seeing this article, press the continue button and now there is a communication system between your server and tebex.
Creating a Package Sending News to the Server
We have connected tebex with our server above, and now we will transfer the sales from tebex to the server instantly and make a system where the player can claim it.
We click on the "PACKAGES" section from the left side and we are directed to the page.
Then we click on the "ADD NEW" button on the top right of the page and choose the package option.
On the page that opens before us, we enter the title of the product. This is very important because we will also use the product title you entered in the script, so be careful to write neat and plain text without emojis.
After entering the other necessary information of the product, "Configure what your customers should receive upon purchasing this package". We select the "+GAME SERVER COMMANDS" option from the section.
From the drop-down section, we choose the server name that we just created in the above steps. Then click the "ADD COMMAND" button at the bottom.
After clicking the button, we paste the following code in the "Enter the command to execute on your server" section. This code: tebex_buypackage {"tid": "{transaction}", "mail": "{email}", "pname": "{packageName}", "price": "{price}"}
After pasting the code, click the settings icon on the right. From this section, we select our server in the "Game server to Execute On" section. From the "Require Player To Be Online" section, we select the "Execute the command even if the player is offline" option and create our package.
Copy the product name you created. Find the TebexPack table and create a new table in it as follows:
Open a different tebex pack for each slot.
Last updated