Jota Dev Coins System
Here you can see the documentation to learn how to install our store's coin system.







Last updated
Here you can see the documentation to learn how to install our store's coin system.







Last updated
# JotaDev Coins System
ensure jc_coinsConfig = Config or {}
Config.Framework = "esx" -- qb, esx
Config.Locales = 'en' -- es | en
Config.Inventory = '' -- "esx" | esx inventory // "qb" | qb-inventory // "ox" | ox_inventory // "qs-inventory" | in case you use qs inventory // "origen_inventory" in case you use origen inventory // If your inventory is not here, you can add it in the following path jc_coins/Editable/Server/SMain.lua
Config.GarajeSystem = '' -- "cd_garage" | CD Garage // "qs-garage" | Quasar Garages // "jg-advancedgarages" // "lunar_garaje" | Lunar Garaje // "qb-garages" // "esx-default"
Config.KeysSystem = '' -- "wasabi_carlock" For Wasabi CarLock // "qs-vehiclekeys" For Quasar Vehicle Keys // "brutal_keys" For Brutal Keys System // "qb-vehiclekey" For QB Vehiclekeys
Config.Coins = {
useitem = false, -- Activate or deactivate the option to use the VIP currency item
itemName = "coins" -- Item name, by default its name is the predefined
}
Config.HourlyCoins = 1 -- Amount of coins per normal hour (Config.TimeToEarn)
Config.CommnadNameConsultarCoins = 'coins' -- Command to check how many coins you have and how much time you have left to obtain the next benefit
Config.TeclaOpenMenuCoins = 'K'
Config.CommandOpenUIAdmin = 'admincoins' -- Command for administrator to open the administrator panel
Config.CommandOpenUIShop = 'tienda' -- Command for administrator to open the administrator panel
Config.ClientOption = true
Config.UseTimer = true -- Change to false if you don't want to use the time system and only the coins you have will be displayed in the interface.
Config.TimeToEarn = 3600 -- Time in seconds to receive coins (1 hour)
Config.DiscordWebhookPurchase = 'YOUR_WEBHOOKS' -- Purchase Logs in the general purchasing panel
Config.DiscordWebhookReceive = 'YOUR_WEBHOOKS' --Logs of players receiving coins from an administrator
Config.DiscordWebhookRemove = 'YOUR_WEBHOOKS' --Logs of when an administrator removes coins from a player or resets their coins to 0
Config.Admin = {
permissions = {
useFrameworkGroups = true, -- Use framework permissions to access the admin menu
useLicenses = false, -- Use the identifiers to access the admin menu
},
groups = {-- esx, qb, or qbx groups
esx = {
admin = true,
superadmin = true
},
qb = {
admin = true,
god = true
}
},
licenses = {
"license:acbdefghijklmn123455667564363463463463565",
"license:acbdefghijklmn123455667564363463463463565"
}
}
if Config.Framework == 'qb' then
QBCore = exports['qb-core']:GetCoreObject()
elseif Config.Framework == 'esx' then
ESX = exports["es_extended"]:getSharedObject()
else
print '^1[^6jc_coins^1] ^2Framework No encontrada, ingrese esx o qb^0'
return
end
Config.Debug = false
print '^1[^6jc_coins^1] ^2Framework No encontrada, ingrese esx o qb^0'
return
end
Config.Debug = falseConfig.VIPBlip = {
enabled = true, -- true to show the blip, false to hide it
sprite = 326,
scale = 0.8,
color = 38,
name = "VIP Dealer"
}
Config.MoneyTypes = {
{type = "bank", label = "Bank"},
{type = "cash", label = "Cash"},
{type = "coins", label = "Coins System"}
}
Config.MatriculaVIP = true -- License plates with 'VIP' prefix, in case of false normal random license plate
Config.StaticVehicles = { -- Exhibition cars
{
model = "italirsx",
label = "Italirsx",
price = 100,
specs = {
velocidad = 280,
aceleracion = 6.5,
manejo = 6.2
},
coords = vector3(120.4028, -155.991, 53.860),
heading = 27.98
},
{
model = "coquette4",
label = "Coquette 4",
price = 40,
specs = {
velocidad = 230,
aceleracion = 9.0,
manejo = 8.0
},
coords = vector3(126.1227, -158.064, 53.860),
heading = 27.04
},
{
model = "zeno",
label = "Zeno",
price = 30,
specs = {
velocidad = 310,
aceleracion = 7.8,
manejo = 8.8
},
coords = vector3(137.3558, -162.500, 53.560),
heading = 26.44
},
{
model = "tenf",
label = "Tenf",
price = 80,
specs = {
velocidad = 320,
aceleracion = 8.3,
manejo = 9.2
},
coords = vector3(131.6864, -160.241, 53.860),
heading = 26.44
},
{
model = "emerus",
label = "Emerus",
price = 70,
specs = {
velocidad = 290,
aceleracion = 9.6,
manejo = 7.5
},
coords = vector3(143.1104, -164.505, 53.860),
heading = 25.31
}
}
-- Would you like to have the whole system automated? Great! Then connect our coin system to Tebex!
Config.Tebex = {
useTebex = true, -- To activate the option to use Tebex, assign true
commandTebex = 'tebex_addcoins' -- Command to assign coins to players
}