[FREE][ESX/QB/OX] Job system - Create craftings in game!

What does this script do?

This script will allow you to create craftings for different jobs directly in the game.
Because the most boring job I know of is creating craftings for new jobs that are created on the server for players.

So I figured… what about just doing it right in the game?

Dependencies

Supports

Frameworks: ESX / QB / OX

Inventory: ox_inventory, qb_inventory, quasar_inventory.

Targets: ox_target, qb-target

Don’t want to use target?

BRIDGE/config.lua

BRIDGE.UseMarkers = false

Commands

/createjob - This will start to create a new job.
/open_jobs - Opens the menu of all jobs.

Configuration

All framework, inventory and target setup in BRIDGE/config.lua.

Directory to your inventory images

Config.DirectoryToInventoryImages = “nui://ox_inventory/web/images/”

Blacklisted strings / Filter

Config.BlacklistedStrings = { “weapon”, “weed”, “meth”,“coke”, “ammo”, “gun”, “pistol”, “drug”, “c4”, “WEAPON”, “AMMO”, “at_”, “keycard”, “gun”, “money”, “black_money” }

Dispatch - config.lua

function SendDispatch(coords, jobLabel)
        -- YOU DISPATCH
        -- cache.ped
        print(coords)
        print(jobLabel)
 end

Crafting animation

Config.DEFAULT_ANIM = “hack_loop”
Config.DEFAULT_ANIM_DIC = “mp_prison_break”

Questions

Do I need to create a job in the database or in the framework?: Yes, this script will not create anything in your db, but you can customize it.
But how does it store data?: .json file

Features and updates

Update 25.2.2024

  • You can create an alarm
  • You can create a cash register.
  • More beautiful icons

Update 26.2.2024

  • Item filter

Update 9.3.2024

  • You can create backups and the backup can be restored in game.
  • For each item you can add a custom animation for crafting.
  • Added bossmenu - Configurable export in config.lua
  • You can create peds with custom animations.
  • You can create stashes ( For everyone or just employees. )

Preview

Download

Check my other resources!

Mower job: [ESX/QB/OX] Mower job - Time to clean up the garden
Keycards: Keycard heists | ESX/QB/OX | Dangerous heists!
Weed: [ESX/QB/OX] Weed Growing - Create your weed empire - #8 by Polisek_scripts
Job calls: [ESX/QB/OX] Jobs calls / Food delivery - Delivery missions for businesses, bars and restaurants

11 Likes

Amazing!!! Have a suggestion for future update, would be awesome to also include that you can add a cash register with this system too for the payments for the customers :slight_smile:

1 Like

Very interesting idea!
I’m planning to expand this more, including storage counters, and I’ll try to implement your idea too! <3

2 Likes

That’s awesome! Yeah, this is a great start! :smiley:

Updated on github!

  • You can create an alarm
  • You can create a cash register.
  • More beautiful icons

Preview

3 Likes

Oh holy crap that was fast! Did not expect such a fast update! LOL Man great work!

3 Likes

Thanks! Glad you like the script! If you have any other suggestions feel free to write!
Any other ideas I’ll try to incorporate and add.

If they make sense :smiley:

2 Likes

The script is very nice, but there is only one problem: it did not write the name of the thing

I just want to find something to add

Updated on github

  • Added filter for item search.

1 Like

You are truly an amazing and beautiful person. Thank you very much

image

Updated

1 Like

Any plans to make a button to add stash / boss menu and such?

1 Like

Hello,
I’m going to put out 2 more scripts this week, but at the end of the week I’d like to add a stash to this script so I’ll see how I can manage the time, but I’ll try to do it as soon as possible.

I’m not planning a boss menu yet, but it’s an interesting suggestion.
I’ll think about it.

Regards
Polísek

1 Like

Adding boss menu wouldn’t take that long since you ask for the job name you would just have to add the possibility to place the point so you can access it, also thank you for your answer kinda hyped for the new releases :slight_smile:

1 Like

when starting script up i get this error
Failed to load script @xSounds/ai_module_fg-obfuscated.lua.

Hello,
updated on github.

Changed files

fxmanifest.lua

Thanks for info <3

1 Like

Final update

What was added in the update?

- You can create backups and the backup can be restored in game.
- For each item you can add a custom animation for crafting.
- Added bossmenu - Configurable export in config.lua
- You can create peds with custom animations.
- You can create stashes ( For everyone or just employees. ) 
1 Like

With us the items are not saved in the jobs.json and we don’t get any errors either