Project-Sloth / ps-donator

Donator script for Tebex.

Home Page:https://www.discord.gg/projectsloth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

image

Instructions

Run the sql code in donator.sql to your database.

Follow the Tebex instructions to get Tebex installed on your server. In your Tebex store on the packages you want coins to be added to do the following. At the bottom of the package select "Add Game Server Command" image

In the "When the package is purchased" section paste the following

donatorPurchase {"transactionId":"{transaction}", "package":"{packageName}"}

image

IMPORTANT The packagename in the config needs to MATCH the package name in tebex. So if you have a package named "coinpack1" in tebex then you need to have in the config.

    ["coinpack1"] = CoinAmountHere,

Players can use the /redeem transactionId in game to have their coins added.

About

Donator script for Tebex.

https://www.discord.gg/projectsloth


Languages

Language:Lua 100.0%