Full View config.lua
Config = {}
-- █▀ █▀▄ ▄▀▄ █▄ ▄█ ██▀ █ █ ▄▀▄ █▀▄ █▄▀
-- █▀ █▀▄ █▀█ █ ▀ █ █▄▄ ▀▄▀▄▀ ▀▄▀ █▀▄ █ █
Config.Core = "ESX" -- "ESX" / "QB-Core"
Config.CoreExport = function()
return exports['es_extended']:getSharedObject()
-- return exports['qb-core']:GetCoreObject()
end
Config.Hud = {
Enable = function()
-- exports['hud']:DisplayHud(true)
end,
Disable = function()
-- exports['hud']:DisplayHud(false)
end
}
Config.Notification = function(message, time, type)
if type == "success" then
exports["vms_notify"]:Notification("COIN SHOP", message, time, "#27FF09", "fa-solid fa-coins")
-- ESX.ShowNotification(message)
-- QBCore.Functions.Notify(message, "success", 5000)
elseif type == "error" then
exports["vms_notify"]:Notification("COIN SHOP", message, time, "#FF0909", "fa-solid fa-coins")
-- ESX.ShowNotification(message)
-- QBCore.Functions.Notify(message, "error", 5000)
end
end
-- ▀█▀ █▀▄ ▄▀▄ █▄ █ ▄▀▀ █ ▄▀▄ ▀█▀ ██▀
-- █ █▀▄ █▀█ █ ▀█ ▄██ █▄▄ █▀█ █ █▄▄
Config.Translate = {
['received_coins'] = "You received <b>%s coins</b>.",
['need_more_coins'] = "You need %s coins more to buy this.",
['updated_vip_status'] = "You have updated you account status to VIP."
}
-- █▄ ▄█ ▄▀▄ █ █▄ █ ▄▀▀ ██▀ ▀█▀ ▀█▀ █ █▄ █ ▄▀ ▄▀▀
-- █ ▀ █ █▀█ █ █ ▀█ ▄██ █▄▄ █ █ █ █ ▀█ ▀▄█ ▄██
Config.EnableBlur = true
Config.DailyRewardsReloading = 15 -- 15 = 15 minutes
Config.UseRealNames = false -- false == steam nick name / true == firstname and lastname from users table
Config.TebexLink = 'https://www.vames-store.com/' -- Here put a link to the tebex site where the player can buy coins
Config.Command = 'coinshop'
Config.CommandDescription = 'Coin Shop'
Config.OpenKey = 'F4'
-- Using Config.PlateSpecialPrefix you can set a custom plate prefix to make it stand out from other vehicles so that everyone knows,
-- that it is a vehicle from the store for server coins, e.g "C" and then Config.PlateNumbers = 6 and the plate will look like this [C 914293]
Config.PlateSpecialPrefix = ""
Config.PlateLetters = 2
Config.PlateNumbers = 5
Config.CasesPercentages = { -- 1.00 -> 0.00
['5'] = 0.95, -- 5%
['4'] = 0.85, -- 10%
['3'] = 0.75, -- 20%
['2'] = 0.30, -- 25%
['1'] = 0.00, -- 30%
}
Config.ItemsTags = {
{label = "All", value = "all"},
{label = "Items", value = "items"},
{label = "Money", value = "money"},
{label = "Weapons", value = "weapon"},
-- {label = "Other", value = "other"},
}
Config.Vehicles = {
{img = 'c63w205.png', label = 'Mercedes-Benz C63 AMG', model = 'c63w205', price = 2000, vipPrice = 1500},
{img = 'mbc63.png', label = 'Mercedes-Benz C63 AMG', model = 'mbc63', price = 2000, vipPrice = 1500},
{img = 'c63a.png', label = 'Mercedes-Benz C63 AMG', model = 'c63a', price = 2000, vipPrice = 1500},
{img = 'c32.png', label = 'Mercedes-Benz C55 AMG', model = 'c32', price = 2000, vipPrice = 1500},
{img = 'banshee.webp', label = 'Banshee', model = 'banshee', price = 1000},
{img = 'blazer.webp', label = 'Blazer', model = 'blazer', price = 1000},
{img = 'bulldozer.webp', label = 'Dozer', model = 'bulldozer', price = 1000},
{img = 'bullet.webp', label = 'Bullet', model = 'bullet', price = 1000},
{img = 'deity.webp', label = 'Deity', model = 'deity', price = 1000},
{img = 'jubilee.webp', label = 'Jubilee', model = 'jubilee', price = 1000},
}
Config.Cases = {
{
img = 'standard.png',
label = 'Standard',
price = 250,
vipPrice = 200,
items = { -- types: item, cash, black_money, bank, vehicle, coins
{img = 'bread.png', name = 'bread', label = 'Bread', count = 2, rarity = '1', type = 'item'},
{img = 'water.png', name = 'water', label = 'Water', count = 8, rarity = '2', type = 'item'},
{img = 'black_money.png', name = 'black_money', label = 'Dirty Money 15 000$', count = 15000, rarity = '3', type = 'black_money'},
{img = 'cash.png', name = 'cash', label = 'Cash 20 000$', count = 20000, rarity = '4', type = 'cash'},
{img = 'jubilee.webp', name = 'jubilee', label = 'Jubilee', count = 1, rarity = '5', type = 'vehicle'},
},
},
{
img = 'premium.png',
label = 'Premium',
price = 500,
items = { -- types: item, cash, black_money, bank, vehicle, coins
{img = 'bread.png', name = 'bread', label = 'Bread 5x', count = 5, rarity = '1', type = 'item'},
{img = 'gelato.png', name = 'gelato', label = 'Gelato 2g', count = 2, rarity = '1', type = 'item'},
{img = 'water.png', name = 'water', label = 'Water 10x', count = 10, rarity = '2', type = 'item'},
{img = 'cash.png', name = 'cash', label = 'Cash 50 000$', count = 50000, rarity = '3', type = 'cash'},
{img = 'black_money.png', name = 'black_money', label = 'Dirty Money 150 000$', count = 150000, rarity = '4', type = 'black_money'},
{img = 'WEAPON_SMG_MK2.png', name = 'WEAPON_SMG_MK2', label = 'SMG MK2', count = 1, rarity = '5', type = 'item'},
{img = 'deity.webp', name = 'deity', label = 'Deity', count = 1, rarity = '5', type = 'vehicle'},
{img = 'c32.png', name = 'c32', label = 'Mercedes-Benz C32 AMG', count = 1, rarity = '5', type = 'vehicle'},
},
},
{
img = 'exclusive.png',
label = 'Exclusive',
price = 800,
items = { -- types: item, cash, black_money, bank, vehicle, coins
{img = 'bread.png', name = 'bread', label = 'Bread 5x', count = 5, rarity = '1', type = 'item'},
{img = 'gelato.png', name = 'gelato', label = 'Gelato 2g', count = 2, rarity = '1', type = 'item'},
{img = 'water.png', name = 'water', label = 'Water 10x', count = 10, rarity = '2', type = 'item'},
{img = 'cash.png', name = 'cash', label = 'Cash 50 000$', count = 50000, rarity = '3', type = 'cash'},
{img = 'black_money.png', name = 'black_money', label = 'Dirty Money 150 000$', count = 150000, rarity = '4', type = 'black_money'},
{img = 'coins.png', name = 'coins', label = 'Coins 1000', count = 1000, rarity = '4', type = 'coins'},
{img = 'WEAPON_SMG_MK2.png', name = 'WEAPON_SMG_MK2', label = 'SMG MK2', count = 1, rarity = '5', type = 'item'},
{img = 'c63a.png', name = 'c63a', label = 'Mercedes-Benz C63 AMG', count = 1, rarity = '5', type = 'vehicle'},
},
},
{
img = 'magic.png',
label = 'Magic',
price = 1000,
items = {
{img = 'cash.png', name = 'cash', label = 'Cash 25000', count = 25000, rarity = '1', type = 'cash'},
{img = 'cash.png', name = 'cash', label = 'Cash 50000', count = 50000, rarity = '2', type = 'cash'},
{img = 'cash.png', name = 'cash', label = 'Cash 100000', count = 100000, rarity = '3', type = 'cash'},
{img = 'cash.png', name = 'cash', label = 'Cash 150000', count = 150000, rarity = '4', type = 'cash'},
{img = 'c63w205.png', name = 'c63w205', label = 'Mercedes-Benz C63 AMG', count = 1, rarity = '5', type = 'vehicle'},
{img = 'mbc63.png', name = 'mbc63', label = 'Mercedes-Benz C63 AMG', count = 1, rarity = '5', type = 'vehicle'},
},
},
{
img = 'cash.png',
label = 'Cash',
price = 1500,
items = {
{img = 'cash.png', name = 'cash', label = 'Cash 25000', count = 25000, rarity = '1', type = 'cash'},
{img = 'cash.png', name = 'cash', label = 'Cash 50000', count = 50000, rarity = '2', type = 'cash'},
{img = 'cash.png', name = 'cash', label = 'Cash 100000', count = 100000, rarity = '3', type = 'cash'},
{img = 'cash.png', name = 'cash', label = 'Cash 150000', count = 150000, rarity = '4', type = 'cash'},
{img = 'coins.png', name = 'coins', label = 'Coins 3000', count = 3000, rarity = '5', type = 'coins'},
},
},
}
Config.Items = {
{img = 'bread.png', name = 'bread', label = 'Bread 25x', description = '', count = 25, price = 2, vipPrice = 1, type = "item", tag = "items"},
{img = 'water.png', name = 'water', label = 'Water 25x', description = '', count = 25, price = 2, vipPrice = 1, type = "item", tag = "items"},
{img = 'gelato.png', name = 'gelato', label = 'Gelato 10g', description = '', count = 10, price = 50, vipPrice = 25, type = "item", tag = "items"},
{img = 'cash.png', name = 'cash', label = 'Cash 50 000$', description = '', count = 50000, price = 75, type = "cash", tag = "money"},
{img = 'cash.png', name = 'cash', label = 'Cash 250 000$', description = '', count = 250000, price = 300, type = "cash", tag = "money"},
{img = 'cash.png', name = 'cash', label = 'Cash 1 000 000$', description = '', count = 1000000, price = 1500, type = "cash", tag = "money"},
{img = 'cash.png', name = 'cash', label = 'Cash 1 500 000$', description = '', count = 2500000, price = 2500, type = "cash", tag = "money"},
{img = 'black_money.png', name = 'black_money', label = 'Dirty Money 100 000$', description = '', count = 100000, price = 75, type = "black_money", tag = "money"},
{img = 'black_money.png', name = 'black_money', label = 'Dirty Money 500 000$', description = '', count = 500000, price = 300, type = "black_money", tag = "money"},
{img = 'black_money.png', name = 'black_money', label = 'Dirty Money 1 500 000$', description = '', count = 1500000, price = 1500, type = "black_money", tag = "money"},
{img = 'black_money.png', name = 'black_money', label = 'Dirty Money 2 000 000$', description = '', count = 2000000, price = 2500, type = "black_money", tag = "money"},
{img = 'WEAPON_HEAVYPISTOL.png', name = 'WEAPON_HEAVYPISTOL', label = 'Heavy Pistol', description = '', count = 1, price = 90, type = "item", tag = "weapon"},
{img = 'WEAPON_REVOLVER.png', name = 'WEAPON_REVOLVER', label = 'Revolver', description = '', count = 1, price = 120, type = "item", tag = "weapon"},
{img = 'WEAPON_SMG_MK2.png', name = 'WEAPON_SMG_MK2', label = 'SMG MK2', description = '', count = 1, price = 280, type = "item", tag = "weapon"},
{img = 'WEAPON_CARBINERIFLE_MK2.png', name = 'WEAPON_CARBINERIFLE_MK2', label = 'Carbine Rifle MK2', description = '', count = 1, price = 400, type = "item", tag = "weapon"},
}
Config.DailyRewards = {
['1'] = {img = 'cash.png', name = 'cash', label = 'Cash 1 000$', count = 1000, type = "cash"},
['2'] = {img = 'cash.png', name = 'cash', label = 'Cash 5 000$', count = 5000, type = "cash"},
['3'] = {img = 'cash.png', name = 'cash', label = 'Cash 7 500$', count = 7500, type = "cash"},
['4'] = {img = 'cash.png', name = 'cash', label = 'Cash 10 000$', count = 10000, type = "cash"},
['5'] = {img = 'cash.png', name = 'cash', label = 'Cash 15 000$', count = 15000, type = "cash"},
['6'] = {img = 'cash.png', name = 'cash', label = 'Cash 20 000$', count = 20000, type = "cash"},
['7'] = {img = 'cash.png', name = 'cash', label = 'Cash 30 000$', count = 30000, type = "cash"},
['8'] = {img = 'cash.png', name = 'cash', label = 'Cash 40 000$', count = 40000, type = "cash"},
['9'] = {img = 'cash.png', name = 'cash', label = 'Cash 50 000$', count = 50000, type = "cash"},
['10'] = {img = 'cash.png', name = 'cash', label = 'Cash 60 000$', count = 60000, type = "cash"},
['11'] = {img = 'cash.png', name = 'cash', label = 'Cash 70 000$', count = 70000, type = "cash"},
['12'] = {img = 'cash.png', name = 'cash', label = 'Cash 80 000$', count = 80000, type = "cash"},
['13'] = {img = 'cash.png', name = 'cash', label = 'Cash 90 000$', count = 90000, type = "cash"},
['14'] = {img = 'cash.png', name = 'cash', label = 'Cash 100 000$', count = 100000, type = "cash"},
['15'] = {img = 'cash.png', name = 'cash', label = 'Cash 120 000$', count = 120000, type = "cash"},
['16'] = {img = 'cash.png', name = 'cash', label = 'Cash 140 000$', count = 140000, type = "cash"},
['17'] = {img = 'cash.png', name = 'cash', label = 'Cash 160 000$', count = 160000, type = "cash"},
['18'] = {img = 'cash.png', name = 'cash', label = 'Cash 180 000$', count = 180000, type = "cash"},
['19'] = {img = 'cash.png', name = 'cash', label = 'Cash 200 000$', count = 200000, type = "cash"},
['20'] = {img = 'cash.png', name = 'cash', label = 'Cash 250 000$', count = 250000, type = "cash"},
['21'] = {img = 'cash.png', name = 'cash', label = 'Cash 300 000$', count = 300000, type = "cash"},
['22'] = {img = 'cash.png', name = 'cash', label = 'Cash 350 000$', count = 350000, type = "cash"},
['23'] = {img = 'cash.png', name = 'cash', label = 'Cash 400 000$', count = 400000, type = "cash"},
['24'] = {img = 'cash.png', name = 'cash', label = 'Cash 450 000$', count = 450000, type = "cash"},
['25'] = {img = 'cash.png', name = 'cash', label = 'Cash 500 000$', count = 500000, type = "cash"},
['26'] = {img = 'cash.png', name = 'cash', label = 'Cash 750 000$', count = 750000, type = "cash"},
['27'] = {img = 'cash.png', name = 'cash', label = 'Cash 1 000 000$', count = 1000000, type = "cash"},
['28'] = {img = 'cash.png', name = 'cash', label = 'Cash 1 200 000$', count = 1250000, type = "cash"},
['29'] = {img = 'cash.png', name = 'cash', label = 'Cash 1 500 000$', count = 1500000, type = "cash"},
['30'] = {img = 'c63a.png', name = 'c63a', label = 'Mercedes-Benz C63 AMG', count = 1, type = "vehicle"},
}
Last updated