Requirements
- FiveM server
- MySQL or MariaDB
- One of:
qbx_core,qb-core, ores_extended ox_lib,ox_inventory,oxmysqlobject_gizmo(used by the in-game bench placer)
Steps
-
Drop the
nex_craftingfolder into your resources, e.g.resources/[nex]/nex_crafting/. -
Import
sql/install.sqlinto your database. This creates the bench, recipe, ingredient, and XP tables. -
(Optional) Open
settings/general.luaand tweak commands, animations, XP, failure system, skill check, etc. You can also do this from the Settings tab of the creator panel later — it rewrites the file for you. -
Add it to
server.cfgafter its dependencies: -
Grant access to the creator panel. Either:
…or rely on the default framework groups (
admin,superadmin,god). Both are accepted out of the box — see Configuration. - Restart your server.
/craftpanel (or /crp) in-game to add your first bench.
Checking it worked
From F8:started. If it prints missing or stopped, fix server.cfg and restart.
Updating
Yoursettings/general.lua, settings/discord.lua, and integrations/*.lua are listed under escrow_ignore and are preserved across updates. Bench and recipe data lives in MySQL and is preserved automatically.
- Replace the resource files with the new version (keep your edited
settings/andintegrations/files). - Restart the server.
Using a non-ox_inventory inventory
The script ships wired toox_inventory. If you use a different inventory, edit integrations/inventory.lua and point settings.oxInventory.imagePath in settings/general.lua at the right NUI image path.
