Configuration

Don't touch this lines

Config, CoinNames, Lang, Notification, Coins = {}, {}, {}, {}, {}

CONFIGURATION FILE

--          $$$$$$$\  $$$$$$\ $$$$$$$$\             ¡Trigger to open the script:
--          $$  __$$\ \_$$  _|\__$$  __|                TriggerClientEvent("bit-crypto:open")
--          $$ |  $$ |  $$ |     $$ |   
--          $$$$$$$\ |  $$ |     $$ |               ¡Export to get the user balance:
--          $$  __$$\   $$ |     $$ |                   exports.bit-crypto:GetUserBalance()
--          $$ |  $$ |  $$ |     $$ |   
--          $$$$$$$  |$$$$$$\    $$ |                Thank you for purchasing the script!
--          \_______/ \______|   \__|
--            https://bit.tebex.io

Config, CoinNames, Lang, Notification, Coins = {}, {}, {}, {}, {}

--      $$$$$$\   $$$$$$\  $$\   $$\ $$$$$$$$\ $$$$$$\  $$$$$$\  $$\   $$\ $$$$$$$\   $$$$$$\ $$$$$$$$\ $$$$$$\  $$$$$$\  $$\   $$\ 
--      $$  __$$\ $$  __$$\ $$$\  $$ |$$  _____|\_$$  _|$$  __$$\ $$ |  $$ |$$  __$$\ $$  __$$\\__$$  __|\_$$  _|$$  __$$\ $$$\  $$ |
--      $$ /  \__|$$ /  $$ |$$$$\ $$ |$$ |        $$ |  $$ /  \__|$$ |  $$ |$$ |  $$ |$$ /  $$ |  $$ |     $$ |  $$ /  $$ |$$$$\ $$ |
--      $$ |      $$ |  $$ |$$ $$\$$ |$$$$$\      $$ |  $$ |$$$$\ $$ |  $$ |$$$$$$$  |$$$$$$$$ |  $$ |     $$ |  $$ |  $$ |$$ $$\$$ |
--      $$ |      $$ |  $$ |$$ \$$$$ |$$  __|     $$ |  $$ |\_$$ |$$ |  $$ |$$  __$$< $$  __$$ |  $$ |     $$ |  $$ |  $$ |$$ \$$$$ |
--      $$ |  $$\ $$ |  $$ |$$ |\$$$ |$$ |        $$ |  $$ |  $$ |$$ |  $$ |$$ |  $$ |$$ |  $$ |  $$ |     $$ |  $$ |  $$ |$$ |\$$$ |
--      \$$$$$$  | $$$$$$  |$$ | \$$ |$$ |      $$$$$$\ \$$$$$$  |\$$$$$$  |$$ |  $$ |$$ |  $$ |  $$ |   $$$$$$\  $$$$$$  |$$ | \$$ |
--       \______/  \______/ \__|  \__|\__|      \______| \______/  \______/ \__|  \__|\__|  \__|  \__|   \______| \______/ \__|  \__|

--Use "esx" or "qb"
Config.Framework = "esx"
--Default ESX: "esx:getSharedObject" | Default QB: "qb-core"
Config.Core = "esx:getSharedObject"
-- oxmysql, mysql-async or ghmattisql
Config.Mysql = "oxmysql" 
-- set to false if you are going to open the script via trigger
Config.OpenWithCommand = true 
-- command to open the script
Config.OpenCommand = "crypto" 
-- only modify if you want the money to be withdrawn/in credited to a different account
Config.BankAccount = "bank" 
-- Elapsed time to update the price of coins (1000 = 1 sec)
Config.UpdateCoinsTime = 500 
-- if it is modified, it must also be modified in the database
CoinNames.crypto1 = "Bitcoin" 
-- if it is modified, it must also be modified in the database
CoinNames.crypto2 = "Ethereum" 
-- if it is modified, it must also be modified in the database
CoinNames.crypto3 = "Ripple" 
-- Increase that the currency will receive as it is acquired by users.
Coins.crypto1increase = 0.01 
-- Increase that the currency will receive as it is acquired by users.
Coins.crypto2increase = 0.01 
-- Increase that the currency will receive as it is acquired by users.
Coins.crypto3increase = 0.01 


--      $$\        $$$$$$\  $$\   $$\  $$$$$$\  $$\   $$\  $$$$$$\   $$$$$$\  $$$$$$$$\ 
--      $$ |      $$  __$$\ $$$\  $$ |$$  __$$\ $$ |  $$ |$$  __$$\ $$  __$$\ $$  _____|
--      $$ |      $$ /  $$ |$$$$\ $$ |$$ /  \__|$$ |  $$ |$$ /  $$ |$$ /  \__|$$ |      
--      $$ |      $$$$$$$$ |$$ $$\$$ |$$ |$$$$\ $$ |  $$ |$$$$$$$$ |$$ |$$$$\ $$$$$\    
--      $$ |      $$  __$$ |$$ \$$$$ |$$ |\_$$ |$$ |  $$ |$$  __$$ |$$ |\_$$ |$$  __|   
--      $$ |      $$ |  $$ |$$ |\$$$ |$$ |  $$ |$$ |  $$ |$$ |  $$ |$$ |  $$ |$$ |      
--      $$$$$$$$\ $$ |  $$ |$$ | \$$ |\$$$$$$  |\$$$$$$  |$$ |  $$ |\$$$$$$  |$$$$$$$$\ 
--      \________|\__|  \__|\__|  \__| \______/  \______/ \__|  \__| \______/ \________|

Lang.error = "Error"
Lang.success = "Success"
Lang.noMoney = "You do not have enough money"
Lang.noCoins = "You do not have enough coins to sell"
Lang.okBuy = "Coins have been purchased correctly"
Lang.okSell = "Coins have been sold correctly"

--      $$\   $$\  $$$$$$\ $$$$$$$$\ $$$$$$\ $$$$$$$$\ $$$$$$\  $$$$$$\   $$$$$$\ $$$$$$$$\ $$$$$$\  $$$$$$\  $$\   $$\ 
--      $$$\  $$ |$$  __$$\\__$$  __|\_$$  _|$$  _____|\_$$  _|$$  __$$\ $$  __$$\\__$$  __|\_$$  _|$$  __$$\ $$$\  $$ |
--      $$$$\ $$ |$$ /  $$ |  $$ |     $$ |  $$ |        $$ |  $$ /  \__|$$ /  $$ |  $$ |     $$ |  $$ /  $$ |$$$$\ $$ |
--      $$ $$\$$ |$$ |  $$ |  $$ |     $$ |  $$$$$\      $$ |  $$ |      $$$$$$$$ |  $$ |     $$ |  $$ |  $$ |$$ $$\$$ |
--      $$ \$$$$ |$$ |  $$ |  $$ |     $$ |  $$  __|     $$ |  $$ |      $$  __$$ |  $$ |     $$ |  $$ |  $$ |$$ \$$$$ |
--      $$ |\$$$ |$$ |  $$ |  $$ |     $$ |  $$ |        $$ |  $$ |  $$\ $$ |  $$ |  $$ |     $$ |  $$ |  $$ |$$ |\$$$ |
--      $$ | \$$ | $$$$$$  |  $$ |   $$$$$$\ $$ |      $$$$$$\ \$$$$$$  |$$ |  $$ |  $$ |   $$$$$$\  $$$$$$  |$$ | \$$ |
--      \__|  \__| \______/   \__|   \______|\__|      \______| \______/ \__|  \__|  \__|   \______| \______/ \__|  \__|


Notification.customNotification = false -- change if you want to use a customized notification system

--  NOTIFICATION TYPES:
Notification.typeError = "error"
Notification.typeSuccess = "success"

function notification(msg, typemsg, title) --don't touch this line
    --insert here the export or trigger of the notification system

end --don't touch this line

--      $$\       $$$$$$\   $$$$$$\   $$$$$$\  
--      $$ |     $$  __$$\ $$  __$$\ $$  __$$\ 
--      $$ |     $$ /  $$ |$$ /  \__|$$ /  \__|
--      $$ |     $$ |  $$ |$$ |$$$$\ \$$$$$$\  
--      $$ |     $$ |  $$ |$$ |\_$$ | \____$$\ 
--      $$ |     $$ |  $$ |$$ |  $$ |$$\   $$ |
--      $$$$$$$$\ $$$$$$  |\$$$$$$  |\$$$$$$  |
--      \________|\______/  \______/  \______/


Config.DiscordBuys = "" -- url of discord webhook for buys
Config.DiscordSells = "" -- url of discord webhook for sells


--      $$$$$$\  $$\    $$\  $$$$$$\ $$$$$$$$\  $$$$$$\  $$$$$$$\   $$$$$$\  
--      $$  __$$\ $$ |   $$ |$$  __$$\\__$$  __|$$  __$$\ $$  __$$\ $$  __$$\ 
--      $$ /  $$ |$$ |   $$ |$$ /  $$ |  $$ |   $$ /  $$ |$$ |  $$ |$$ /  \__|
--      $$$$$$$$ |\$$\  $$  |$$$$$$$$ |  $$ |   $$$$$$$$ |$$$$$$$  |\$$$$$$\  
--      $$  __$$ | \$$\$$  / $$  __$$ |  $$ |   $$  __$$ |$$  __$$<  \____$$\ 
--      $$ |  $$ |  \$$$  /  $$ |  $$ |  $$ |   $$ |  $$ |$$ |  $$ |$$\   $$ |
--      $$ |  $$ |   \$  /   $$ |  $$ |  $$ |   $$ |  $$ |$$ |  $$ |\$$$$$$  |
--      \__|  \__|    \_/    \__|  \__|  \__|   \__|  \__|\__|  \__| \______/

--   These are the avatars available to users:

Avatars = {
    [1] = "./img/avatar/1.png",
    [2] = "./img/avatar/2.png",
    [3] = "./img/avatar/3.png",
    [4] = "./img/avatar/4.png",
    [5] = "./img/avatar/5.png",
    [6] = "./img/avatar/6.png",
    [7] = "./img/avatar/7.png",
    [8] = "./img/avatar/8.png",
    [9] = "./img/avatar/9.png",
    [10] = "./img/avatar/10.png",
    [11] = "./img/avatar/11.png",
    [12] = "./img/avatar/12.png",
    [13] = "./img/avatar/13.png",
    [14] = "./img/avatar/14.png",
    [15] = "./img/avatar/15.png",
    [16] = "./img/avatar/16.png",
    [17] = "./img/avatar/17.png",
    [18] = "./img/avatar/18.png",
    [19] = "./img/avatar/19.png",
    [20] = "./img/avatar/20.png",
    [21] = "./img/avatar/21.png",
    [22] = "./img/avatar/22.png",
    [23] = "./img/avatar/23.png",
    [24] = "./img/avatar/24.png",
    [25] = "./img/avatar/25.png",
    [26] = "./img/avatar/26.png",
    [27] = "./img/avatar/27.png",
    [28] = "./img/avatar/28.png",
    [29] = "./img/avatar/29.png",
    [30] = "./img/avatar/30.png",
    [31] = "./img/avatar/31.png",
    [32] = "./img/avatar/32.png",
    [33] = "./img/avatar/33.png",
    [34] = "./img/avatar/34.png",
    [35] = "./img/avatar/35.png",
    [36] = "./img/avatar/36.png",
    [37] = "./img/avatar/37.png",
    [38] = "./img/avatar/38.png",
    [39] = "./img/avatar/39.png",
    [40] = "./img/avatar/40.png",
}

Last updated