[QBCore][PAID] Leveling System

Preview

Preview Link
Job Integration

Explanation

This is a Levelin System script, where you start from level 1 and you get some jobs after you do the jobs you get xp with the xp you can level up and more jobs are getting unlocked

Config

You can set the texts for the notifications
You can set if you want to use okokNotify
You can set what database drive your using ( oldmysql or the newmysql)
You can customize the jobs and the level needed for it
You can customize the levels, the xp needed for every level and the reward for it
You can customize the commands for example: You can change the command name and description

Optimization

Idle: 0.00
In use: 0.00

Dependencies

QB-Core
oxmysql

FiveM Asset Escrow System

This script is using the Asset Escrow system and its fully encrypted.

Config

Config.Notifications = {
    ["no_level"] = {title = 'JOBS', text ='You do not have the level for this job', time = 5000, type = 'error'},
    ["level_up"] = {title = 'JOBS', text ='You have level-up to: ', time = 5000, type = 'success'}, -- set primary if you dont use okoknotify
    ["xp_given"] = {title = 'JOBS', text ='You got : ', time = 5000, type = 'success'},
    ["set_level"] = {title = 'JOBS', text =' level has been set to ', time = 5000, type = 'success'}, -- set primary if you dont use okoknotify
    ["xp_added"] = {title = 'JOBS', text =' got ', time = 5000, type = 'success'},
    ["player_not_online"] = {title = 'JOBS', text ='Player not online', time = 5000, type = 'error'},
    ["level_info"] = {title = 'JOBS', text ='Level: ', time = 5000, type = 'info'}, -- set primary if you dont use okoknotify
    ["xp_info"] = {title = 'JOBS', text ='XP: ', time = 5000, type = 'info'}, -- set primary if you dont use okoknotify
    ["got_hired"] = {title = 'JOBS', text ='You have been hired as: ', time = 5000, type = 'success'}, -- set primary if you dont use okoknotify
    ["not_enough_xp"] = {title = 'JOBS', text ='You do not have enough XP for level-up ', time = 5000, type = 'error'},
    ["level_up_disabled"] = {title = 'JOBS', text ='Level up command is disabled ', time = 5000, type = 'error'},
    ["reset_lvl"] = {title = 'JOBS', text =' XP has been reset', time = 5000, type = 'success'},
    ["reward_for_level_up"] = {title = 'JOBS', text ='Keep up the good work heres $', time = 5000, type = 'success'},
    ["player_not_valid"] = {title = 'JOBS', text ='Player not valid', time = 5000, type = 'error'},
}

Config.Options = {
    ["okoknotify"] = true, -- true; false;
    ["dbdriver"] = 'newoxmysql', -- newoxmysql; oldmysql
    ["jobs"] = {
        {
            name = "garbage",
            level = 1
        },
        {
            name = "trucker",
            level = 2
        },
        {
            name = "taxi",
            level = 3
        },
        {
            name = "bus",
            level = 4
        },
    },
    ["levels"] = {
        [1] = {
            label = "1",
            money = 100,
            xp = 0,
        },
        [2] = {
            label = "2",
            money = 200,
            xp = 250,
        },
        [3] = {
            label = "3",
            money = 300,
            xp = 500,
        },
        [4] = {
            label = "4",
            money = 300,
            xp = 750,
        },
        [5] = {
            label = "5",
            money = 300,
            xp = 1000,
        },
        [6] = {
            label = "6",
            money = 300,
            xp = 1250,
        },
        [7] = {
            label = "7",
            money = 300,
            xp = 1500,
        },
        [8] = {
            label = "8",
            money = 300,
            xp = 1750,
        },
        [9] = {
            label = "9",
            money = 300,
            xp = 2000,
        },
        [10] = {
            label = "10",
            money = 300,
            xp = 2250,
        },
        [11] = {
            label = "11",
            money = 300,
            xp = 2500,
        },
        [12] = {
            label = "12",
            money = 300,
            xp = 2750,
        },
        [13] = {
            label = "13",
            money = 300,
            xp = 3000,
        },
        [14] = {
            label = "14",
            money = 300,
            xp = 3250,
        },
        [15] = {
            label = "15",
            money = 300,
            xp = 3500,
        },
        [16] = {
            label = "16",
            money = 300,
            xp = 3750,
        },
        [17] = {
            label = "17",
            money = 300,
            xp = 4000,
        },
        [18] = {
            label = "18",
            money = 300,
            xp = 4250,
        },
        [19] = {
            label = "19",
            money = 300,
            xp = 4500,
        },
        [20] = {
            label = "20",
            money = 300,
            xp = 4500,
        },
        [21] = {
            label = "21",
            money = 300,
            xp = 4750,
        },
        [22] = {
            label = "22",
            money = 300,
            xp = 5000,
        },
        [23] = {
            label = "23",
            money = 300,
            xp = 5250,
        },
        [24] = {
            label = "24",
            money = 300,
            xp = 5500,
        },
        [25] = {
            label = "25",
            money = 300,
            xp = 5750,
        },
        [26] = {
            label = "26",
            money = 300,
            xp = 6000,
        },
        [27] = {
            label = "27",
            money = 300,
            xp = 6250,
        },
        [28] = {
            label = "28",
            money = 300,
            xp = 6500,
        },
        [29] = {
            label = "29",
            money = 300,
            xp = 6750,
        },
        [30] = {
            label = "30",
            money = 300,
            xp = 7000,
        },
    }
}

Config.Commands = {
    ['ChangeLevel'] = {
        ['name'] = 'setlevel',
        ['description'] = 'Set Level(Admin Only)'
    },
    ['CheckLevel'] = {
        ['name'] = 'level',
        ['description'] = 'Check Your Level'
    },
    ['CheckXP'] = {
        ['name'] = 'xp',
        ['description'] = 'Check Your XP'
    },
    ['ChangeXP'] = {
        ['name'] = 'addxp',
        ['description'] = 'Adds XP'
    },
    ['ResetXP'] = {
        ['name'] = 'resetxp',
        ['description'] = 'Reset XP'
    },
    ['LevelUP'] = {
        ['name'] = 'levelup',
        ['description'] = 'Level UP'
    },
}

Download (14.99€)

Get this resource from Tebex

Code is accessible No
Subscription-based No
Lines (approximately) 500
Requirements QBCore & oxmysql
Support Yes

“FiveM Asset Escrow System” :joy::joy::joy::joy:

2 Likes

? -5 char

FiveM Asset Escrow System it’s a joke

3 Likes

is there any way i can make this for like the drug selling system