🧠INSTALLATION
1) Tebex Settings #TEBEX
Connect Tebex 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.
HOW DO I AFFECT THE SERVER AFTER I BUY A PACKAGE?
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:
(for coin)
tebex_sendit {"tebexid": "{transaction}", "mail": "{email}", "type": "coin", "amount": "100"}
(for prime)
tebex_sendit {"tebexid": "{transaction}", "mail": "{email}", "type": "prime", "amount": ""}
In this way, the purchased packages will interact and purchase the prime or the coin you have set.
like this

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:
After buying a trade, players can check their coins or the premium they received in the form of a /claim tebexID.
2) SQL
You need to read the menu.sql you find in your file, if you have a problem reading it, contact us on discord.
3) Last Settings
Installation is quite simple, the folder name just needs to be devix-mMenu or you may get errors. After transferring it to the server resource file, just enter server.cfg or resource.cfg etc. in your file and start.
Last updated