Skip to main content

Requirements

Steps

  1. Drop the nex_crafting folder into your resources, e.g. resources/[nex]/nex_crafting/.
  2. Import sql/install.sql into your database. This creates the bench, recipe, ingredient, and XP tables.
  3. (Optional) Open settings/general.lua and 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.
  4. Add it to server.cfg after its dependencies:
    ensure ox_lib
    ensure oxmysql
    ensure ox_inventory
    ensure object_gizmo
    ensure nex_crafting
    
  5. Grant access to the creator panel. Either:
    add_ace group.admin nex.crafting.creator allow
    
    …or rely on the default framework groups (admin, superadmin, god). Both are accepted out of the box — see Configuration.
  6. Restart your server.
That’s it. Run /craftpanel (or /crp) in-game to add your first bench.

Checking it worked

From F8:
lua print(GetResourceState('nex_crafting'))
Should print started. If it prints missing or stopped, fix server.cfg and restart.

Updating

Your settings/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.
  1. Replace the resource files with the new version (keep your edited settings/ and integrations/ files).
  2. Restart the server.

Using a non-ox_inventory inventory

The script ships wired to ox_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.