Installation
Install STG Fruit Job on your FiveM server, add the items to your inventory and start it.

STG Fruit Job
Download the script
Sign in to the Cfx.re portal with the account you used at checkout and download stg-fruit from Granted Assets.
Move the resource
Extract the zip and place the stg-fruit folder inside the [STG] category folder in your resources directory.
resources/
└── [STG]/
└── stg-fruit/Keep the folder name stg-fruit. The minigame, processor and seller screens send their actions to a resource with exactly this name, so a renamed folder opens the screens but never gives items or money.
Install the dependencies
Fruit Job needs ox_lib and oxmysql. Skip this step if your server already runs them.
Add the items
The script uses 3 items. basket is only needed when you turn on STG.required_item. Pick the tab for your inventory. QBOX servers, and any ESX or QBCore server running ox_inventory, use the ox_inventory tab.
Add these entries to ox_inventory/data/items.lua:
['apple'] = {
label = 'Apple',
weight = 160,
},
['applejuice'] = {
label = 'Apple Juice',
weight = 160,
},
['basket'] = {
label = 'Basket',
weight = 160,
},Add these lines to QBShared.Items in qb-core/shared/items.lua:
apple = { name = 'apple', label = 'Apple', weight = 160, type = 'item', image = 'apple.png', unique = false, useable = false, shouldClose = true, description = 'A fresh apple.' },
applejuice = { name = 'applejuice', label = 'Apple Juice', weight = 160, type = 'item', image = 'applejuice.png', unique = false, useable = false, shouldClose = true, description = 'Fresh pressed apple juice.' },
basket = { name = 'basket', label = 'Basket', weight = 160, type = 'item', image = 'basket.png', unique = false, useable = false, shouldClose = true, description = 'A basket for picking fruit.' },Run this query on your database:
INSERT INTO items (name, label)
VALUES
('apple', 'Apple'),
('applejuice', 'Apple Juice'),
('basket', 'Basket');Add the item images
Copy every image from the [SETUP]/item-images folder that comes with the download into your inventory's image folder, for example ox_inventory/web/images or qb-inventory/html/images.
Start the script
Make sure [STG] starts after your framework, your inventory, oxmysql and ox_lib in server.cfg:
ensure oxmysql
ensure ox_lib
# your framework: es_extended, qb-core or qbx_core
# your inventory, for example ox_inventory
ensure [STG]Then restart the whole server.
Nothing happens or the console shows an error? See Common Errors.
Next steps
Still having trouble?
Open a ticket on our Discord. Our team answers around 15 hours a day.
Fruit Job
Pick apples with a drag and drop minigame, press them into apple juice and sell the juice for cash. Add as many fruit chains as you like.
Configuration
Every option in STG Fruit Job config.lua, from the framework and language to markers, the basket requirement and the orchard, processor and seller of each location.