- Run the SQL File
- Put the Script in your resources, and start it in cfg file.
- Link your DATABASE to Tebex as a game server.
- Add in this as the command -
INSERT INTO `codes` VALUES ('{transaction}-7' , 'item-name or money', 'AMOUNT', '0', 'TEBEX', NULL);INSERT INTO `codes` VALUES ('{transaction}-7' , 'donorcoin', '2', '0', 'TEBEX', NULL);INSERT INTO `codes` VALUES ('{transaction}-8' , 'money', '4000000', '0', 'TEBEX', NULL);Same as example below make sure they are in ''s and that AMOUNT is a number.
- Make Sure to put -(Number) at the end like i have -7 on this one for EACH item/code Given. And then tell your customers that to redeem they just type in the tebex transID and the -7 or whatever number(s) it is for that package.
- Example of how to redeem a tebex transaction -
/redeem tbx-43725621a42940-35b945-7
/createcode [type] [amount]- Creates a Code (Only for GOD Level Holder)/redeem [code]- Redeem a Given Code- Where [type] can be
moneyoritem-name
/createcode money 50000 // returns code with Rewards as 50K
/createcode electronic_kit 15 // returns code with Rewards 15 Electronic Kits
/redeem un$i9KuZmV // redeems code