OrganicsInstallation

Installation

⚠️

Start this after ox_lib, your framework, your inventory, and Newb_Bridge. The bridge auto-detects running resources; if this script starts first, detection can miss them. Keep the folder named MrNewbOrganics.

Dependencies

Newb_Bridge, ox_lib, framework + inventory + target via the bridge. Server artifact /server:6116 or newer, plus OneSync (fxmanifest.lua). oxmysql is not required.

Add items and images

Paste the defs from Item setup. Copy PNGs from [INSTALL]/images/ into:

InventoryImage folder
ox_inventoryox_inventory/web/images/
qb-inventory / ps-inventoryhtml/images/
one_inventoryone_inventory/web/images/

The pack ships apple.png, pineapple.png, and lettuce.png. These produce items are not usable — do not add server.export. Market payout is bank, not an inventory money item.

Configure

Edit configs/config.lua:

  • Config.PickingTypeslocations (vector4), rewardItem, anim, optional propModel (spawned prop) or omit it for a sphere zone
  • Config.FarmersMarketEnabled, vendor model / coords / shopItems (item → bank price)

Field tables: MrNewbOrganics.

Add to server.cfg

Swap qbx_core / ox_inventory for whatever you actually run.

ensure ox_lib
ensure qbx_core
ensure ox_inventory
ensure Newb_Bridge
ensure MrNewbOrganics

Restart the server

Restart after config or item changes.