Config file
---- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
---- _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ _| || |_
---- _ .. _|_ .. _|_ .. _|_ .. _|_ .. _|_ .. _|_ .. _|_ .. _|
---- |_ _|_ _|_ _|_ _|_ _|_ _|_ _|_ _|
---- |_||_| |_||_| |_||_| |_||_| |_||_| |_||_| |_||_| |_||_|
----
----
---- __ __ _ _ _
---- \ \ / /_ _ _ __ __ _ __ _ _ __ __| | | | __ _| |__ ___
---- \ \ / / _` | '_ \ / _` |/ _` | '__/ _` | | | / _` | '_ \/ __|
---- \ V / (_| | | | | (_| | (_| | | | (_| | | |__| (_| | |_) \__ \
---- \_/ \__,_|_| |_|\__, |\__,_|_| \__,_| |_____\__,_|_.__/|___/
---- |___/
----
---- VANGUARD LABS | Billing 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 = 'esx' -- 'esx', 'qbcore', 'qbox'
-- ============================================================================
-- NOTIFICATION SETTINGS
-- ============================================================================
Config.UseCustomNotifications = true -- true = use custom NUI notifications, false = use framework notifications
-- ============================================================================
-- GENERAL SETTINGS
-- ============================================================================
Config.Language = 'EN' -- Available: EN, PT, ES, FR, Custom
Config.Debug = false
Config.Currency = '$'
-- ============================================================================
-- COMMAND SETTINGS
-- ============================================================================
Config.Commands = {
enabled = false,
billingMenu = 'billingtablet', -- Command to open billing tablet
playerBills = 'billings', -- Command to open player bills
}
-- ============================================================================
-- KEYBIND SETTINGS
-- ============================================================================
Config.Keybinds = {
enabled = true,
billingMenu = 'F7', -- Key to open billing tablet
playerBills = 'F6', -- Key to open player bills
}
-- ============================================================================
-- ITEM SETTINGS
-- ============================================================================
Config.Item = {
enabled = true,
name = 'billingtablet', -- Item name in database
}
-- ============================================================================
-- ANIMATION SETTINGS
-- ============================================================================
Config.Animation = {
dict = 'amb@world_human_seat_wall_tablet@female@base',
anim = 'base',
prop = 'prop_cs_tablet'
}
-- ============================================================================
-- THEME SETTINGS
-- ============================================================================
Config.Theme = 'dark' -- Available themes: 'purple', 'blue', 'green', 'red', 'orange', 'pink', 'cyan', 'dark'
-- ============================================================================
-- DATABASE SETTINGS
-- ============================================================================
Config.Database = 'oxmysql' -- 'mysql-async', 'oxmysql'
-- ============================================================================
-- THEME CONFIGURATION
-- ============================================================================
Config.Themes = {
['purple'] = {
name = 'Purple Dream',
primary = '#A855F7',
primaryDark = '#7E22CE',
primaryLight = '#D8B4FE',
secondary = '#9333EA',
background = '#0F172A',
backgroundLight = '#1E293B',
backgroundCard = '#334155',
backgroundGradient = {
start = 'rgba(30, 27, 75, 0.95)',
middle = 'rgba(49, 46, 129, 0.85)',
finish = 'rgba(67, 56, 202, 0.75)'
},
text = '#FFFFFF',
textSecondary = '#C4B5FD',
success = '#10B981',
error = '#F87171',
warning = '#FBBF24',
info = '#A855F7'
},
['blue'] = {
name = 'Ocean Blue',
primary = '#3B82F6',
primaryDark = '#1E40AF',
primaryLight = '#93C5FD',
secondary = '#2563EB',
background = '#0F172A',
backgroundLight = '#1E293B',
backgroundCard = '#334155',
backgroundGradient = {
start = 'rgba(15, 23, 75, 0.95)',
middle = 'rgba(30, 58, 138, 0.85)',
finish = 'rgba(37, 99, 235, 0.75)'
},
text = '#FFFFFF',
textSecondary = '#BFDBFE',
success = '#10B981',
error = '#F87171',
warning = '#FBBF24',
info = '#3B82F6'
},
['green'] = {
name = 'Forest Green',
primary = '#10B981',
primaryDark = '#047857',
primaryLight = '#6EE7B7',
secondary = '#059669',
background = '#0F172A',
backgroundLight = '#1E293B',
backgroundCard = '#334155',
backgroundGradient = {
start = 'rgba(6, 78, 59, 0.95)',
middle = 'rgba(5, 150, 105, 0.85)',
finish = 'rgba(16, 185, 129, 0.75)'
},
text = '#FFFFFF',
textSecondary = '#A7F3D0',
success = '#10B981',
error = '#F87171',
warning = '#FBBF24',
info = '#10B981'
},
['red'] = {
name = 'Crimson Red',
primary = '#F43F5E',
primaryDark = '#BE123C',
primaryLight = '#FDA4AF',
secondary = '#E11D48',
background = '#0F172A',
backgroundLight = '#1E293B',
backgroundCard = '#334155',
backgroundGradient = {
start = 'rgba(136, 19, 55, 0.95)',
middle = 'rgba(190, 18, 60, 0.85)',
finish = 'rgba(244, 63, 94, 0.75)'
},
text = '#FFFFFF',
textSecondary = '#FECDD3',
success = '#10B981',
error = '#F43F5E',
warning = '#FBBF24',
info = '#F43F5E'
},
['orange'] = {
name = 'Sunset Orange',
primary = '#FB923C',
primaryDark = '#C2410C',
primaryLight = '#FDBA74',
secondary = '#EA580C',
background = '#0F172A',
backgroundLight = '#1E293B',
backgroundCard = '#334155',
backgroundGradient = {
start = 'rgba(124, 45, 18, 0.95)',
middle = 'rgba(194, 65, 12, 0.85)',
finish = 'rgba(251, 146, 60, 0.75)'
},
text = '#FFFFFF',
textSecondary = '#FED7AA',
success = '#10B981',
error = '#F87171',
warning = '#FB923C',
info = '#FB923C'
},
['pink'] = {
name = 'Rose Pink',
primary = '#EC4899',
primaryDark = '#BE185D',
primaryLight = '#FBCFE8',
secondary = '#DB2777',
background = '#0F172A',
backgroundLight = '#1E293B',
backgroundCard = '#334155',
backgroundGradient = {
start = 'rgba(131, 24, 67, 0.95)',
middle = 'rgba(190, 24, 93, 0.85)',
finish = 'rgba(236, 72, 153, 0.75)'
},
text = '#FFFFFF',
textSecondary = '#FBE3F0',
success = '#10B981',
error = '#F87171',
warning = '#FBBF24',
info = '#EC4899'
},
['cyan'] = {
name = 'Cyber Cyan',
primary = '#22D3EE',
primaryDark = '#0E7490',
primaryLight = '#A5F3FC',
secondary = '#06B6D4',
background = '#0F172A',
backgroundLight = '#1E293B',
backgroundCard = '#334155',
backgroundGradient = {
start = 'rgba(8, 51, 68, 0.95)',
middle = 'rgba(14, 116, 144, 0.85)',
finish = 'rgba(6, 182, 212, 0.75)'
},
text = '#FFFFFF',
textSecondary = '#CFFAFE',
success = '#10B981',
error = '#F87171',
warning = '#FBBF24',
info = '#22D3EE'
},
['dark'] = {
name = 'Midnight Dark',
primary = '#64748B',
primaryDark = '#334155',
primaryLight = '#CBD5E1',
secondary = '#475569',
background = '#0F172A',
backgroundLight = '#1E293B',
backgroundCard = '#334155',
backgroundGradient = {
start = 'rgba(15, 23, 42, 0.98)',
middle = 'rgba(30, 41, 59, 0.95)',
finish = 'rgba(51, 65, 85, 0.92)'
},
text = '#FFFFFF',
textSecondary = '#CBD5E1',
success = '#34D399',
error = '#F87171',
warning = '#FBBF24',
info = '#94A3B8'
}
}
-- ============================================================================
-- JOB CONFIGURATION
-- ============================================================================
Config.BillingJobs = {
['police'] = {
label = 'Police Department',
icon = 'fas fa-shield-alt',
color = '#3B82F6',
theme = 'blue',
grades = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
},
['sheriff'] = {
label = 'Sheriff Department',
icon = 'fas fa-star',
color = '#8B5CF6',
grades = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
},
['ambulance'] = {
label = 'Emergency Medical Services',
icon = 'fas fa-ambulance',
color = '#EF4444',
grades = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
},
['mechanic'] = {
label = 'Mechanic',
icon = 'fas fa-wrench',
color = '#F59E0B',
grades = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
},
['taxi'] = {
label = 'Taxi Company',
icon = 'fas fa-taxi',
color = '#10B981',
grades = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
}
}
-- ============================================================================
-- PREDEFINED BILLING REASONS
-- ============================================================================
Config.BillingReasons = {
['police'] = {
'Speeding Violation',
'Parking Violation',
'Reckless Driving',
'Running Red Light',
'Illegal Parking',
'Vehicle Impoundment',
'Public Disturbance',
'Weapon Violation',
'Drug Possession',
'Assault Fine'
},
['sheriff'] = {
'Traffic Violation',
'Hunting Without License',
'Trespassing',
'Public Intoxication',
'Disturbing Peace',
'Property Damage'
},
['ambulance'] = {
'Emergency Response',
'Medical Treatment',
'Ambulance Service',
'Hospital Bill',
'Medical Supplies',
'Emergency Surgery'
},
['mechanic'] = {
'Vehicle Repair',
'Towing Service',
'Parts Replacement',
'Diagnostic Service',
'Emergency Repair',
'Vehicle Modification'
},
['taxi'] = {
'Taxi Service',
'Airport Transfer',
'Long Distance Trip',
'Waiting Time',
'Premium Service'
}
}
-- ============================================================================
-- NOTIFICATION SETTINGS
-- ============================================================================
Config.Notifications = {
new_bill = {
title = 'New Bill Received',
message = 'You received a bill from %s in the amount of %s',
type = 'info',
duration = 8000
},
bill_paid = {
title = 'Bill Paid',
message = 'Your bill has been paid successfully',
type = 'success',
duration = 5000
}
}Last updated