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:
| Inventory | Image folder |
|---|---|
| ox_inventory | ox_inventory/web/images/ |
| qb-inventory / ps-inventory | html/images/ |
| one_inventory | one_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, optionalpropModel(spawned prop) or omit it for a sphere zoneConfig.FarmersMarket—Enabled, vendormodel/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 MrNewbOrganicsRestart the server
Restart after config or item changes.