wrenchSetup and Items

Quick installation guide and required item setup for 0r-farming-v2

This page covers the minimum setup required to get the script running correctly: dependencies, server.cfg start order, required assets, database tables, and item installation.

Required Dependencies

Use a clean start order so the script loads after its dependencies:

start oxmysql
start ox_lib
start framework -- es_extended, qb-core, qbx_core, etc.
-- other resources
start 0r_lib
start 0r_farming_assets
start 0r_plant_assets
start 0r_plantsnew
start 0r-farming-v2
circle-info

database.sql is executed automatically. You do not need to import it manually.

Database

The script includes these tables:

Where Do I Add The Items?

  • If you use OX Inventory, add the items to ox_inventory/data/items.lua.

  • If you use QB Core, add the items to qb-core/shared/items.lua.

  • Copy the item images into the image folder used by your inventory.

  • If your image path is different, update Config.InventoryImagesFolder in 0r-farming-v2/config.lua.

circle-exclamation

OX Inventory

QB Core

Final Checklist

After setup, verify these points:

  • 0r_lib starts without errors

  • 0r_farming_assets, 0r_plant_assets, and 0r_plantsnew start without errors

  • 0r-farming-v2 starts without errors

  • Required items exist in game

  • The farming menu opens correctly

Last updated