You are currently viewing FiveM [Esx] Whitelist Job in the Job Center

FiveM [Esx] Whitelist Job in the Job Center

This works with Esx Framework for FiveM Server:
If you want to add a a new job to your server. Normaly you must INSERT INTO a new row (job) in the database. So you will have a new row in the jobs table. Some other tables will be also updated (job_gardes for different job level and so on. You can als manage gang vie jobs table and some scripts do this as well due to similar functionallity.
This table has 3 columns:
name – technical name for internal script reference
label – Label which will be used be the system. i.g. to display youre Job in HUD
whitelisted – with values 0 or 1
whitelisted colum is what you need to make job visible or hide it in Job Center
0 – Job is visible in the Job Center
1 – Job is hidden in the Job Center
You can still give players this job (as admin), so it’s not deactivated, just not accessible by public. It make sense for a jobs like police, EMS. You just give one player highest rank and activate player management, so he can hire players which he trust. Set:
Config.EnablePlayerManagement = true in config.lua of the job and you are good to go