Installation

How to install Organics. Start this after ox_lib, your framework, your inventory, and Newb_Bridge. The bridge looks at what’s already running. If this script starts first, it can miss them.

Start this after ox_lib, your framework, your inventory, and Newb_Bridge. The bridge looks at what’s already running. If this script starts first, it can miss them.

Dependencies

Newb_Bridge, ox_lib, framework + inventory + target via the bridge. Server artifact and OneSync. 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. Market payout is bank, not an inventory money item.

Configure

Edit configs/config.lua:

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

Field tables: Configuration.

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.

On this page