Requirements
| Dependency | Required | Notes |
|---|---|---|
ox_lib | yes | Callbacks, notifications, command registration, textUI, points. |
| Inventory | one of | ox_inventory (preferred), qb-inventory, or ESX’s legacy inventory. |
| Framework | one of | qbx_core, qb-core, es_extended, or ND_Core. |
ox_target | optional | Needed for the EMS player target option, and for the medic NPC when Config.Interaction = 'target'. |
Steps
-
Drop the
nex_crutchsystem/folder into yourresources/tree, e.g.: -
Add it to your
server.cfgafterox_liband your inventory: -
Register the
crutchitem in your inventory — see Inventory item below. -
Copy the bundled icon into your inventory’s image folder:
ox_inventory/web/images/crutch.pngqb-inventory/html/images/crutch.png
install/crutch.pnginside the resource. - Restart the server.
web/dist/ — you don’t need Node or Bun to run the resource. A rebuild is only needed if you edit web/src/*.
Inventory item
Pick the snippet that matches your inventory. The full reference lives ininstall/items.lua inside the resource.
ox_inventory
Add this entry toox_inventory/data/items.lua:
server.export points at the existing useCrutch handler in nex_crutchsystem/server/crutches.lua, which already handles the per-player use counter, breaking, and the equip / unequip toggle.
QBCore / Qbox
Add toqb-core/shared/items.lua (or qbx_core/shared/items.lua):
ESX legacy
Register the item in your DB / items table, then bind its use callback:Checking it worked
From your server console:started. From F8 in-game:
MedicLocations entry — the NPC should spawn within Config.SpawnDistance and the blip should be on the map.
Updating
config.lua and the bridge/*.lua files are listed under escrow_ignore, so your settings and any custom framework / inventory adapters survive updates.
-
Replace the resource files with the new version (keep your edited
config.luaand any bridge tweaks). -
Restart the resource:

