πŸ“”Configurables

Config

```lua
Config = {}


Config.locales = { -- Locales, u can put ur own text in here
    ['cheater_kick'] = 'Cheater tried to give himself coins!',
    ['missing_json_data'] = 'Invalid command usage. JSON data missing.',
    ['json_parse_failure'] = 'Failed to parse JSON data.',
    ['missing_transaction_id_or_package'] = 'Missing transaction ID or package name in the JSON data.',
    ['transaction_check_start'] = 'Transaction check started for player:',
    ['coins_received'] = 'You received {coins} coins!',
    ['account_creation_failed'] = 'Failed to create new account. Please try again.',
    ['invalid_package'] = 'Invalid package. Please contact support.',
    ['transaction_not_found'] = 'Transaction not found. Please check your transaction ID.',
    ['server_error_invalid_player'] = 'Server error: Invalid player data',
    ['gift_card_check_start'] = 'Starting gift card check for code: {code}, player: {player}',
    ['gift_card_redeemed'] = 'Gift card redeemed! You received {coins} coins!',
    ['balance_update_failed'] = 'Failed to update balance. Please try again.',
    ['gift_card_redeem_failed'] = 'Failed to redeem gift card. Please try again.',
    ['invalid_or_expired_gift_card'] = 'Invalid or expired gift card. Please check your code.',
    ['package_received'] = 'You received {package}!',
    ['too_many_attempts'] = '[SMR] Tokenizer Bye bye cheater!',
}

Config.commandname = 'shop' -- the comand name for the shop.

Config.discordwebhookurl = '' -- The discordwebhookurl replace it with urs!

Config.PackageRewards = { -- the package rewards, replace these with ur tebex package name so example if u have ur package called "coins" then put coins in here! and the player will recive the number u put in there.
    ['example'] = 100, 
}
```

Opensource

Last updated