[Free][QBCore] In-Game Simple Job Creator!

710-jobCreator
A Simple easy ingame way to make jobs in QBCore

Dependencies

How it works

  • Admins can use a command ingame that you set in the config to create a job that gets added to the database.
  • When the job gets added we refresh the qbcore shared jobs table so it takes effect instantly!
  • On resource start we run a DB query to return all the jobs in the database and push them to the core!
    With this you will never have to open jobs.lua anymore (Kinda, its default is 5 ranks 0-4 so if you need more or less ranks you would have to make that still the jobs.lua way.)

Boss menu is really weird how it works and we cannot put it in the config like we can with the jobs. (I was able to get it to go in the config and even refresh but cause of the way qb-bossmenu is written I couldn’t find a way to make it actually register)
Boss menu has already been on the QB chopping block to be replaced so Hopefully this comes soon.

Download here - Github

My other scripts - Tebex(Paid)

8 Likes

does it work with esx?

4 Likes

Does it say it does? Like, actually read the post.

8 Likes

No it doesn’t but qb-input isnt dependent on framework I’m pretty sure and ESX already has jobs in the database. - So is all you would have to do is change the Database events and remove the qbcore functions with ESX ones. Since its on github someone might fork it for ESX :slight_smile: I just wont touch that framework ever again sorry.

This is something new for QBCore and technically isn’t even out yet its currently only in the dev branch of QBCore and thats why there is some extra stuff you have to add into the core currently to make this work on QB.

1 Like

Job payment isn’t working it’s set to true but employeees don’t get paid

It does work most likely that account isnt made in bossmenu or whatever banking you use. Look at server console you will see an error thats telling you there is no where for the money to come from.

Add8ng gathering/process fuction and job location point would be fire :fire:

Screenshot by Lightshot i have this error in console…when i restart the server i dont have a work.

1 Like

Update your oxmysql or change the events in it to the old ones.

Sorry I would never do this. Most of my scripts are to avoid the sit there and spam E stuff to actually have more RP instead of sitting there gathering by spamming E all day long and actually doing nothing (no rp) in game.

2 Likes

ESX version should be done within the next week :slight_smile:

1 Like

Hello,
I have one question, is there any way to add locations to put on duty, a stash, a inventory point?

1 Like

No this is just to add the job to your shard/jobs.lua technically

i need a little help i got this from the githupb but i forgot were it goes

exports[‘710-jobCreator’]:createJob(source)

Did the esx version ever get done?

can we get maybe a option for cars and stash?

This is just to add the job to the database not make a whole job with functionality and everything you would need a job script for that job for that.

1 Like

Did the esx version ever get done?

everytime i restart my server, the job wont save and have to make another one

Then you didnt run the SQL or are running a VERY outdated version of QBCore please update your core.