Config file
---- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
---- _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ _| || |_
---- _ .. _|_ .. _|_ .. _|_ .. _|_ .. _|_ .. _|_ .. _|_ .. _|
---- |_ _|_ _|_ _|_ _|_ _|_ _|_ _|_ _|
---- |_||_| |_||_| |_||_| |_||_| |_||_| |_||_| |_||_| |_||_|
----
----
---- __ __ _ _ _
---- \ \ / /_ _ _ __ __ _ __ _ _ __ __| | | | __ _| |__ ___
---- \ \ / / _` | '_ \ / _` |/ _` | '__/ _` | | | / _` | '_ \/ __|
---- \ V / (_| | | | | (_| | (_| | | | (_| | | |__| (_| | |_) \__ \
---- \_/ \__,_|_| |_|\__, |\__,_|_| \__,_| |_____\__,_|_.__/|___/
---- |___/
----
---- VANGUARD LABS | Radial Menu System [ESX/QBCORE/QBOX]
----
---- Thank you for purchasing our script; we greatly appreciate your preference.
---- If you have any questions or any modifications in mind, please contact us via Discord.
----
---- Support and More: https://discord.gg/G5r3Qq2j4v
----
---- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
---- _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ _| || |_
---- _ .. _|_ .. _|_ .. _|_ .. _|_ .. _|_ .. _|_ .. _|_ .. _|
---- |_ _|_ _|_ _|_ _|_ _|_ _|_ _|_ _|
---- |_||_| |_||_| |_||_| |_||_| |_||_| |_||_| |_||_| |_||_|
----
----
Config = {}
-- ============================================================================
-- FRAMEWORK SETTINGS
-- ============================================================================
Config.Framework = 'auto' -- 'auto', 'esx', 'qb-core', 'qbx_core'
-- ============================================================================
-- NOTIFICATION SETTINGS
-- ============================================================================
Config.NotificationSystem = 'framework' -- 'framework', 'ox_lib'
Config.EnableNotifications = true
Config.NotificationDuration = 4000
-- ============================================================================
-- KEYBIND SETTINGS
-- ============================================================================
Config.MenuKey = "F1" -- Key to open menu
Config.CloseKey = "ESCAPE" -- Key to close menu/go back
Config.SelectKey = "LEFT_CLICK" -- Key to select options
-- ============================================================================
-- MENU DESIGN SETTINGS
-- ============================================================================
Config.MenuSettings = {
centerRadius = 160,
itemRadius = 130,
itemSize = 80,
animationSpeed = 300,
maxSubOptions = 8
}
-- ============================================================================
-- GENERAL SETTINGS
-- ============================================================================
Config.Debug = true
-- ============================================================================
-- PERMISSION SETTINGS
-- ============================================================================
Config.PermissionGroups = {
["admin"] = {"admin", "superadmin", "owner"},
["moderator"] = {"moderator", "mod", "admin", "superadmin", "owner"},
["vip"] = {"vip", "premium", "admin", "superadmin", "owner"}
}
-- ============================================================================
-- JOB GRADE SETTINGS
-- ============================================================================
Config.JobGrades = {
["police"] = 0, -- Minimum grade 0 (cadet)
["ambulance"] = 0,
["mechanic"] = 0,
["taxi"] = 0,
["realtor"] = 0
}
-- ============================================================================
-- MENU OPTIONS CONFIG
-- ============================================================================
Config.MenuOptions = {
-- Test Menu 1 (Everyone can see)
{
id = "test_menu_1",
label = "Test Menu 1",
description = "This is a test menu option",
icon = "fas fa-cog",
job = nil, -- nil = everyone can see
permission = nil,
eventType = nil, -- No event, just for testing
eventName = nil,
secondaryOptions = {
{
id = "test_sub_1",
label = "Test Sub 1",
description = "First test sub option",
icon = "fas fa-star",
eventType = nil,
eventName = nil
},
{
id = "test_sub_2",
label = "Test Sub 2",
description = "Second test sub option",
icon = "fas fa-heart",
eventType = nil,
eventName = nil
},
{
id = "test_sub_3",
label = "Test Sub 3",
description = "Third test sub option",
icon = "fas fa-diamond",
eventType = nil,
eventName = nil
}
}
},
-- Test Menu 2 (Everyone)
{
id = "test_menu_2",
label = "Test Menu 2",
description = "Another test menu option",
icon = "fas fa-cube",
job = nil,
permission = nil,
eventType = nil,
eventName = nil,
secondaryOptions = {
{
id = "test_sub_4",
label = "Test Sub 4",
description = "Fourth test sub option",
icon = "fas fa-fire",
eventType = nil,
eventName = nil
},
{
id = "test_sub_5",
label = "Test Sub 5",
description = "Fifth test sub option",
icon = "fas fa-bolt",
eventType = nil,
eventName = nil
}
}
},
-- Test Menu 3 (Single option, no submenu)
{
id = "test_menu_3",
label = "Test Menu 3",
description = "Single test option without submenu",
icon = "fas fa-check",
job = nil,
permission = nil,
eventType = nil,
eventName = nil
},
-- Test Menu 4 (Everyone)
{
id = "test_menu_4",
label = "Test Menu 4",
description = "Fourth test menu option",
icon = "fas fa-gamepad",
job = nil,
permission = nil,
eventType = nil,
eventName = nil
},
-- Police Test Menu (Only for police job)
{
id = "police_test",
label = "Police Test",
description = "Test menu only for police",
icon = "fas fa-shield-alt",
job = "police", -- Only for police job
permission = nil,
eventType = nil,
eventName = nil,
secondaryOptions = {
{
id = "police_test_1",
label = "Police Sub 1",
description = "Police test sub option 1",
icon = "fas fa-handcuffs",
eventType = nil,
eventName = nil
},
{
id = "police_test_2",
label = "Police Sub 2",
description = "Police test sub option 2",
icon = "fas fa-car",
eventType = nil,
eventName = nil
}
}
},
-- Admin Test Menu (Only for admin permission)
{
id = "admin_test",
label = "Admin Test",
description = "Test menu only for admins",
icon = "fas fa-crown",
job = nil,
permission = "admin", -- Only for admin permission
eventType = nil,
eventName = nil,
secondaryOptions = {
{
id = "admin_test_1",
label = "Admin Sub 1",
description = "Admin test sub option 1",
icon = "fas fa-magic",
eventType = nil,
eventName = nil
}
}
}
}
-- ============================================================================
-- DISCORD LOGGING (Optional)
-- ============================================================================
Config.DiscordWebhook = nil -- "https://discord.com/api/webhooks/..."
-- ============================================================================
-- UI TEXT LOCALES
-- ============================================================================
Config.Locales = {
['en'] = {
['menu_opened'] = 'Radial Menu opened',
['menu_closed'] = 'Radial Menu closed',
['option_selected'] = 'Option selected',
['no_permission'] = 'You do not have permission to use this option',
['invalid_job'] = 'This option is not available for your job'
},
['pt'] = {
['menu_opened'] = 'Menu Radial aberto',
['menu_closed'] = 'Menu Radial fechado',
['option_selected'] = 'Opção selecionada',
['no_permission'] = 'Você não tem permissão para usar esta opção',
['invalid_job'] = 'Esta opção não está disponível para o seu trabalho'
}
}Last updated