Analytics runs only if you accept. No names, codes or payment details are sent, and shopping works the same either way. Details: privacy and cookies.

  • Necessary Keeps your cart and this choice in your browser so the store works. We ask again after 12 months.
    Always on
  • Analytics (PostHog) Counts pages, clicks and store actions with your device type and rough location, and may record your visit with typed text hidden. Its cookie lasts 365 days. Data is stored in the EU. If you log in with Cfx.re, your visits count as one customer on each device where you accept, and your Cfx.re name is never sent.
    Off
  • Videos Product videos load from YouTube (Google) only when you press Play. YouTube may store data on your device. If you reject, Play opens the video on youtube.com in a new tab instead.
    When you press Play

With analytics on, the site keeps this visit's campaign source in this tab until you close it.

Change your choice any time with Cookie settings at the bottom of the page.

FiveM crafting: ox_inventory bench or a script

If your ESX or Qbox server runs ox_inventory, its free crafting benches cover fixed recipes at fixed places, and you may not need a crafting script at all. A script such as our Crafting adds recipes locked behind blueprints or crafting XP, plus tables players place themselves. It also runs on QBCore with qb-inventory.

What to compare

Three things decide it: which inventory you run, whether recipes should unlock over time, and who decides where the tables go.

Question ox_inventory benches Our Crafting
Frameworks ESX, Qbox, ox_core and ND Core, with ox_inventory ESX, Qbox and QBCore, with ox_inventory or qb-inventory
Where recipes live data/crafting.lua in ox_inventory sv_config.lua in the script
Who can use a table Jobs and minimum grades per bench Jobs and minimum grades per table
Locked recipes None built in Blueprints and crafting XP, per recipe
Tables players place None built in Items that place a table, saved over restarts
Ingredients that aren’t used up Set the amount to 0 Set keep = true
Cost Free, open source under GPL-3.0 Paid, sold on its own or in a plan

ox_inventory crafting benches

This suits a server on ox_inventory that wants a handful of benches with set recipes, such as a gun bench for one gang or a workshop for mechanics.

You define every bench in ox_inventory’s data/crafting.lua (docs). A bench has its recipes in items, the places players open it in points, or in zones if you use ox_target, and the jobs allowed in groups, each with a minimum grade. It can show a blip on the map.

Each recipe lists its ingredients, a duration in milliseconds and a count. The count can be a fixed number or a random range, and the crafted item can carry metadata. An ingredient set to 1 or more is how many get used up. Set it to 0 and the player needs it but keeps it. A value between 0 and 1 takes that much durability instead.

The limits are what’s missing. The docs have no blueprints, no crafting XP and no benches players place. If you want a rule of your own, you write code on ox_inventory’s craftItem hook, which can stop a craft. And ox_inventory doesn’t support QBCore, so on a QBCore server with qb-inventory the benches aren’t an option without changing inventory.

Our Crafting script

This suits a server where crafting should be earned. Gangs unlock guns with blueprints, players level up as they craft, and crews put a bench in their own hideout.

It runs on ESX, Qbox and QBCore, with ox_inventory or qb-inventory. On Qbox it uses Qbox’s QBCore support. It needs oxmysql or mysql-async. ox_target and ox_lib are optional.

Every table lives in SvConfig.CraftingTables in sv_config.lua:

  • coords places a table, with a prop spawned there if you want one. models turns every object of that model on the map into a table.
  • items holds the recipes. Each has its neededItems, a duration and xp = { need, get }. needBlueprint locks it behind a blueprint, and showWithoutBlueprint and showWithoutXP decide whether players still see a recipe they can’t craft yet.
  • tableItems lists items that place a table when used. canPickup, onlyOwner and canPolice decide who can pick it up again.
  • jobs limits the table to job names and minimum grades.

An ingredient with keep = true is needed but not used up. A blueprint is an item named blueprint_ plus the crafted item’s name in lower case, so WEAPON_ASSAULTRIFLE needs blueprint_weapon_assaultrifle. Players check their XP with /craftingxp. Admins set it with setxp <playerId> <xp> in the server console, or in game with the command.setxp ace (commands).

A few things to know before you buy:

  • No item list comes with it. Every item your recipes name, blueprints included, has to exist in your inventory. How to add items to ox_inventory shows where they go for each inventory.
  • The script is protected by Cfx.re Asset Escrow. config.lua, sv_config.lua, the framework files and the editable files stay open. CanCraft in server/main_editable.lua runs before every craft and returns true as shipped, so you can add your own rule there.

Which fits your server

  • You run QBCore with qb-inventory: a crafting script, since ox_inventory’s benches need ox_inventory.
  • You run ox_inventory and want a few fixed recipes: use its benches. They cost nothing and need no extra resource.
  • Recipes should unlock over time, or crews should set up tables where they like: our Crafting. It’s sold on its own, and it’s also in our Ultimate plan, which “Includes ALL current scripts and ALL future releases”. See the plans page.
  • You want both: the two read separate files, so we’d expect them to run side by side. Keep the fixed recipes on ox_inventory benches and put the locked ones in Crafting.

The script in this guide

  • Crafting

    • In Ultimate

    Blueprint and XP-gated recipes, job-only tables and player-placed tables that save over restarts.

    Supports ESX, Qbox and QBCore

    €14.99+ VAT at checkout, one-off

Spin for a discount code

Every spin gets a code; chance sets its size.

Cfx.re login and joining our newsletter are needed for your code.

Checking whether you can spin…

Odds for every spin
DiscountChanceMinimum order
15% off60%None
20% off28%None
25% off10%€30.00 + VAT
30% off2%€39.00 + VAT

Wheel codes work on scripts, bundles and a monthly plan's first payment, not on gift cards. One spin per Cfx.re account every 90 days. Each code is valid for 14 days and works once, with one code per order.