Open files preview
Config files preview, these files are ignored by the escrow system and can be modified.
This script is customizable, there is a total of 2 files accessible for you.
config/config.lua
Click here to see a preview config.lua
Config = {
framework = "ESX", -- available: "ESX", "QBCore", "QBox"
debug = true, -- enable/disables debug mode (errors will be printed either way)
notificationPosition = "bottom-center", -- options: "top-left", "top-center", "top-right", "middle-left", "middle-center", "middle-right", "bottom-left", "bottom-center", "bottom-right"
autoSaveDelay = 10, -- minutes between auto-saves
skills = {
{
name = "skill1", -- "technical" skill name, can be whatever you'd like, but it has to be one word, and you can't change it later
label = "JOB", -- label that will be shown in the skill menu/pop-ups
default_lvl = 1, -- default "starting" level
default_xp = 0, -- default "starting" xp
max = 15, -- max skill level
icon = "fa-solid fa-briefcase", -- icon used for the skill https://fontawesome.com/v6/icons?o=r&s=solid
modalTitle = "JOB", -- title that will be shown in the window after hovering over the skill
modalContent = "Job example text", -- text that will be shown in the window
threshold = { -- xp thresholds for each level
[2] = 200, [3] = 400, [4] = 600, [5] = 800,
[6] = 1000, [7] = 1200, [8] = 1400, [9] = 1600,
[10] = 1800, [11] = 2100, [12] = 2400, [13] = 2700,
[14] = 3000, [15] = 3300
}
},
{
name = "skill2",
label = "production",
default_lvl = 1,
default_xp = 0,
max = 20,
icon = "fa-solid fa-flask",
modalTitle = "DRUG PRODUCTION",
modalContent = "Drug production example text",
threshold = {
[2] = 200, [3] = 400, [4] = 600, [5] = 800,
[6] = 1000, [7] = 1200, [8] = 1400, [9] = 1600,
[10] = 1800, [11] = 2100, [12] = 2400, [13] = 2700,
[14] = 3000, [15] = 3300, [16] = 3400, [17] = 3800,
[18] = 4200, [19] = 4600, [20] = 5000
}
},
{
name = "skill3",
label = "HUSTLE",
default_lvl = 1,
default_xp = 0,
max = 20,
icon = "fa-solid fa-comments-dollar",
modalTitle = "HUSTLE",
modalContent = "Hustle example text",
threshold = {
[2] = 200, [3] = 400, [4] = 600, [5] = 800,
[6] = 1000, [7] = 1200, [8] = 1400, [9] = 1600,
[10] = 1800, [11] = 2100, [12] = 2400, [13] = 2700,
[14] = 3000, [15] = 3300, [16] = 3400, [17] = 3800,
[18] = 4200, [19] = 4600, [20] = 5000
}
},
{
name = "skill4",
label = "DRUG DEALING",
default_lvl = 1,
default_xp = 0,
max = 20,
icon = "fa-solid fa-cannabis",
modalTitle = "DRUG DEALING",
modalContent = "Drug dealing example text",
threshold = {
[2] = 300, [3] = 400, [4] = 600, [5] = 800,
[6] = 1000, [7] = 1200, [8] = 1400, [9] = 1600,
[10] = 1800, [11] = 2100, [12] = 2400, [13] = 2700,
[14] = 3000, [15] = 3300, [16] = 3400, [17] = 3800,
[18] = 4200, [19] = 4600, [20] = 5000
}
},
{
name = "skill5",
label = "LUCK",
default_lvl = 1,
default_xp = 0,
max = 20,
icon = "fa-solid fa-star",
modalTitle = "LUCK",
modalContent = "Luck example text",
threshold = {
[2] = 200, [3] = 400, [4] = 600, [5] = 800,
[6] = 1000, [7] = 1200, [8] = 1400, [9] = 1600,
[10] = 1800, [11] = 2100, [12] = 2400, [13] = 2700,
[14] = 3000, [15] = 3300, [16] = 3400, [17] = 3800,
[18] = 4200, [19] = 4600, [20] = 5000
}
},
{
name = "skill6",
label = "FISHING",
default_lvl = 1,
default_xp = 0,
max = 20,
icon = "fa-solid fa-fish",
modalTitle = "FISHING",
modalContent = "Fishing example text",
threshold = {
[2] = 200, [3] = 400, [4] = 600, [5] = 800,
[6] = 1000, [7] = 1200, [8] = 1400, [9] = 1600,
[10] = 1800, [11] = 2100, [12] = 2400, [13] = 2700,
[14] = 3000, [15] = 3300, [16] = 3400, [17] = 3800,
[18] = 4200, [19] = 4600, [20] = 5000
}
},
{
name = "skill7",
label = "INTELLIGENCE",
default_lvl = 1,
default_xp = 0,
max = 20,
icon = "fa-solid fa-brain",
modalTitle = "INTELLIGENCE",
modalContent = "Intelligence example text",
threshold = {
[2] = 200, [3] = 400, [4] = 600, [5] = 800,
[6] = 1000, [7] = 1200, [8] = 1400, [9] = 1600,
[10] = 1800, [11] = 2100, [12] = 2400, [13] = 2700,
[14] = 3000, [15] = 3300, [16] = 3400, [17] = 3800,
[18] = 4200, [19] = 4600, [20] = 5000
}
},
{
name = "skill8",
label = "HEALTH",
default_lvl = 1,
default_xp = 0,
max = 20,
icon = "fa-solid fa-heart",
modalTitle = "HEALTH",
modalContent = "Health example text",
threshold = {
[2] = 200, [3] = 400, [4] = 600, [5] = 800,
[6] = 1000, [7] = 1200, [8] = 1400, [9] = 1600,
[10] = 1800, [11] = 2100, [12] = 2400, [13] = 2700,
[14] = 3000, [15] = 3300, [16] = 3400, [17] = 3800,
[18] = 4200, [19] = 4600, [20] = 5000
}
},
{
name = "skill9",
label = "OTHER",
default_lvl = 1,
default_xp = 0,
max = 20,
icon = "fa-solid fa-heart",
modalTitle = "OTHER",
modalContent = "Other example text2",
threshold = {
[2] = 200, [3] = 400, [4] = 600, [5] = 800,
[6] = 1000, [7] = 1200, [8] = 1400, [9] = 1600,
[10] = 1800, [11] = 2100, [12] = 2400, [13] = 2700,
[14] = 3000, [15] = 3300, [16] = 3400, [17] = 3800,
[18] = 4200, [19] = 4600, [20] = 5000
}
},
}
}
config/translations.lua
Click here to see a preview translations.lua
-- _____ _____ _
-- | __ \ (_) / ____| | |
-- | |__) |__ _ ___ ___ _ __ | | ___ __| | ___
-- | ___/ _ \| / __|/ _ \| '_ \| | / _ \ / _` |/ _ \
-- | | | (_) | \__ \ (_) | | | | |___| (_) | (_| | __/
-- |_| \___/|_|___/\___/|_| |_|\_____\___/ \__,_|\___|
-- © PoisonCode
-- Discord: https://discord.gg/rNJ8cHXCsN
-- Tebex: https://poisoncode.tebex.io
Translations = {
skills = "Skills",
lvlup = "Level Up!",
lvlupDesc = "Congratulations! You've reached Level:",
}
If you encounter any problems during configuration, you can create a support ticket on our discord.
Last updated
Was this helpful?