Configuration
On this page, we will explain how you can configure the resource to your liking.
Configuration File
Config = {}
Config.Debug = true
Config.FrameworkData = {
esx = { --If you have modified the default event names in the es_extended resource, change them here.
resource_name = 'es_extended',
main = 'esx:getSharedObject',
},
qbcore = { --If you have modified the default event names in the qb-core resource, change them here.
resource_name = 'qb-core',
main = 'QBCore:GetObject',
}
}
Config.Language = 'es' -- 'es' or 'en'
Config.MenuAlign = 'bottom-right' -- 'top-left' or 'top-right' or 'bottom-left' or 'bottom-right'
Config.UseIdentifier = 'license' -- 'license' or 'steam'
Config.DiscordRoles = {
enable = false, -- If you activate this, it is necessary to insert your bot token in server/editablesv.lua
serverId = 'SERVER_ID', --Enter the ID of your Discord server.
}
-- VARIABLES
--@ label: Label to identity the VIP
--@ priority: Priority power to connectqueue
--@ points: Amount to receive in case the payment system is active
--@ roleID: The identifier of the role to give, if you don't want to give any, leave it as 0.
Config.Vips = {
["vip_plata"] = { label = 'VIP Plata', priority = 100, points = 10, roleID = '0' },
["vip_oro"] = { label = 'VIP Oro', priority = 200, points = 300, roleID = '0' },
["vip_diamante"] = { label = 'VIP Diamante', priority = 400, points = 20, roleID = '0' },
}
Config.PaycheckSystem = {
enable = true,
account = 'bank',
interval = 1, -- minutes
paidWithoutVip = false, -- Do you want to pay non-VIP users?
pointWithoutVipQuantity = 5, -- How many money do you want to give to non-VIP users?
}
Config.GroupPermissions = {
'god',
'admin',
'superadmin',
}
Config.Commands = {
['redeem_code'] = 'code',
['open_vip_menu'] = 'vipmenu',
}
Config.DiscordLogs = {
enable = true,
webhook_givevips = 'WEBHOOK_HERE',
webhook_removevips = 'WEBHOOK_HERE',
webhook_generateCode = 'WEBHOOK_HERE',
webhook_editVIP = 'WEBHOOK_HERE',
}
Last updated