ADVANCED FARMING + MLO [VUE]
ADVANCED FARMING + MLO [VUE] is a FiveM script by Risk Scripts, compatible with ESX, QBCore and QBox, available for 134.99 EUR as a one-time purchase. It idles at 0.00ms, ships with free lifetime updates and is supported 24/7 through the Risk Scripts Discord. This edition is fully open source, so the complete Lua stays readable and editable.
ADVANCED FARMING + MLO [VUE] - features, frameworks and installation
# Risk Farm — Player-Owned FiveM Farming Script
**Every player buys their own farm. Private instance, custom buildings, real hands-on work — no menu clicking.**
Risk Farm is a FiveM farming script for ESX, QBCore and QBox, also known as a player-owned farm or ranch script. Players buy one farm, enter their own private instance and grow lettuce, collect eggs, milk cows, press apple juice and raise pigs for the butcher. Works with ox_inventory, qs-inventory, codem-inventory, tgiann-inventory, core_inventory, origen_inventory and qb-inventory.
---
## Why this one
Most farming scripts put every player on the same public field and run the animals through a menu. Risk Farm does it differently.
- **One farm per player, in a private instance.** Every farm is its own routing bucket at the same place. Nobody steals your harvest or stands in your field.
- **Real work with your hands.** You carry the feed to the trough, milk with the mouse, click the eggs out of the nest boxes and carry your pigs onto the trailer.
- **Custom buildings included.** A barn with office, kitchen and storage, a hen house, a cow pen and a pig pen, all streamed with the script.
- **You see what you have.** Goods stand on the storage shelves, eggs lie in the nests, the feeder is full or empty, the weight floats above every pig.
- **It keeps working while you are offline.** Lettuce grows, hens lay and pigs gain weight. Nothing is lost on a server restart.
---
## Your Own Farm
The farm is sold at the farm office east of Paleto Bay. Players see the farm in a gallery, give it a name and pay once.
| Step | What happens |
| --- | --- |
| **Buy** | One farm per player, the name shows on the doormat at the barn |
| **Enter** | Teleport into your own instance of the farm |
| **Invite** | Up to 2 friends become members and work on the same farm |
| **Share** | Members can farm while the owner is offline (owner switch) |
| **Sell** | Sell the farm back for a part of the price (`Config.Farm.SellBack`) |
The office NPC in the barn sells feed, seeds and tools, and the farm office holds the members, the upgrades and the farm level.
---
## Lettuce Field and Tractor
Plant with the shovel and seeds, water with the watering can, add fertilizer for faster growth. Every spot shows its state above the plant, so players always know what to do next.
When the lettuce is ripe, players get on the farm tractor and drive over the rows. Each pass cuts the heads, and players pick them up into the storage. The field grows from **12 to 63 spots** in four stages, and the Fieldmaster tractor harvests in one pass instead of two.
---
## Hens and Eggs
Hens live in a custom hen house with a real feeder. Fill it with corn and the hens start laying.
- Eggs appear **inside the nest boxes**, empty boxes stay empty
- Press `E` at a nest box, the camera looks into it, click each egg with the mouse
- Pack 10 eggs into a carton at the egg table in the barn kitchen
- Room for 6 hens, 12 with the hen house upgrade, hens are bought in the farm shop
---
## Cows and Milk
Fill the hay rack and the cows eat right at it. A small text above every cow shows hungry, milk ready or the time left.
Milking is a minigame: hold the mouse button and pull down, stroke by stroke. Bring the full bucket to the milk table and pour it into milk packs. Other players on the farm see the cow being milked.
---
## Apple Trees and Apple Press
Shake a tree, apples fall into the grass, pick them up. An empty tree needs water before it grows again.
The apple press stands in the barn kitchen. Click 3 apples into the basket, press the red button, the plate comes down and the juice runs into a bottle. Everybody on the farm watches the pressing live. The orchard grows from 3 to 6 to 9 trees.
---
## Pigs and the Butcher
Buy piglets in the farm shop. They gain weight only while their trough has food (lettuce, apples, hay or corn all work), and the weight floats above each pig.
From 100 kg a pig is ready. Press `E` at the pig gate, an NPC brings the farm tractor with a trailer. Carry the pigs onto the trailer, drive to the butcher in Paleto Bay and unload them. The meat goes straight into the farm storage.
---
## Storage, Dog and Raids
- **Shared storage** for all members: 200, 400 and 600 goods, set in the config. Shop purchases arrive here.
- **Visible goods**: eggs, egg cartons, lettuce, apples, milk, corn sacks, hay bales and meat pallets stand on the shelves.
- **Raids**: coyotes take hens and rats steal from the storage, also while you are offline.
- **Farm dog** (upgrade): follows the owner, chases raiders away, needs food in its bowl. Rename it at the dog sign.
---
## Levels and Upgrades
Every job gives farm XP. 8 levels unlock the upgrades step by step, the basics first and the big machines last.
| Upgrade | Stages | Unlocks |
| --- | --- | --- |
| Storage | 3 | More room and a second and third shelf |
| Lettuce field | 4 | 12, 29, 43 and 63 spots |
| Cow pasture | 2 | 2 and 4 cows |
| Pig pen | 3 | 2, 4 and 6 pigs |
| Apple trees | 3 | 3, 6 and 9 trees |
| Hen house | 1 | 12 hens instead of 6 |
| Farm dog | 1 | Protection against raids |
| Fieldmaster tractor | 1 | Harvest in one pass |
Prices and the level of every upgrade are in `config/config.lua`.
---
## Built for Your Other Scripts
All farm goods are normal items, so any shop, job or crafting script can use them.
```lua
-- Sell farm goods in your own ox_inventory shop
{ name = 'farm_apple_juice', price = 40 },
-- Give a farm item from any server script
exports.ox_inventory:AddItem(source, 'farm_egg_carton', 1)
-- Let risk-dairy use the milk from Risk Farm (config of risk-dairy)
Config.UseFarmMilk = true
```
Item files for ESX (SQL), QBCore / QBox and ox_inventory plus all item images are included.
---
## Compatibility
| | Supported |
| --- | --- |
| **Framework** | ESX · QBCore · QBox — auto-detected |
| **Inventory** | ox_inventory · qs-inventory · codem-inventory · tgiann-inventory · core_inventory · origen_inventory · qb-inventory · framework native |
| **Target** | ox_target · qb-target · built-in `E` key |
| **Database** | oxmysql · mysql-async · ghmattimysql — tables created automatically |
| **Notify / HUD** | GTA notify, or your own with one function |
| **Languages** | EN · DE · ES · FR · IT · NL · PL · PT · RO · RU · TR |
---
## What You Get
- ✅ One private farm per player in its own instance
- ✅ Up to 2 friends as farm members
- ✅ Custom barn, hen house, cow pen and pig pen
- ✅ Lettuce field with watering, fertilizer and tractor harvest
- ✅ Hens laying into nest boxes, egg packing table
- ✅ Cow milking minigame and milk table
- ✅ Apple trees and an apple press, visible for everyone
- ✅ Pigs with live weight, trailer transport to the butcher
- ✅ Shared storage with goods visible on the shelves
- ✅ Coyote and rat raids, farm dog protection
- ✅ 8 farm levels with upgrades in the farm office
- ✅ NPC buyer with a camera scene for selling
- ✅ Progress continues offline and after restarts
- ✅ Signs on the farm in the server language
- ✅ 11 languages, every string translatable
- ✅ Open inventory, notify and HUD bridges
- ✅ Exploit-safe, server-authoritative
- ✅ 0.00ms idle, responsive UI up to 4K and ultrawide
---
## Installation
1. Drop `risk-farm` into your resources folder
2. Add the items from `_items/` to your inventory and copy the item images
3. Add `ensure risk-farm` to your `server.cfg`
4. Set prices, times and your language in `config/config.lua` and restart the server
Database tables are created automatically on the first start. No SQL import needed for the farm itself.
**Requirements:** `oxmysql`, `mysql-async` or `ghmattimysql` · ESX, QBCore or QBox
---
## FAQ
**What is Risk Farm?**
Risk Farm is a FiveM farming script for ESX, QBCore and QBox where every player buys their own farm in a private instance and works it with friends: lettuce, eggs, milk, apple juice and pigs.
**Can every player have their own farm?**
Yes. Each player can own one farm. It is the same place on the map, but every farm is its own instance, so players never meet strangers on their field.
**Can friends work on my farm?**
Yes. Invite up to 2 nearby players as members. They share the storage and can farm even while you are offline if you allow it.
**Does it work with ox_inventory?**
Yes. ox_inventory, qs-inventory, codem-inventory, tgiann-inventory, core_inventory, origen_inventory, qb-inventory and the framework inventory are detected automatically.
**Does it work without a target script?**
Yes. The `E` key works out of the box. `ox_target` and `qb-target` are optional with `Config.UseTarget`.
**Does the farm keep growing when I am offline?**
Yes. Lettuce, eggs, milk, apples and pig weight are calculated on the server, also offline and after a restart.
**Is the map included?**
Yes. The barn, hen house, cow pen, pig pen and parking are streamed with the script. No extra map resource needed.
**How is the performance?**
0.00ms idle. Animals and props are only created near the farm, and the loops sleep when nothing happens.
**Can I add my own language or inventory?**
Yes. `locales/` and `inventory/inventory.lua` are open. Copy a locale file to add a language, or add your inventory in the bridge.
**Can I change prices and times?**
Yes. Farm price, shop prices, buyer prices, upgrade prices, unlock levels, storage size and every grow time are in `config/config.lua`.
| Resource | ADVANCED FARMING + MLO [VUE] |
|---|---|
| Frameworks | ESX, QBCore and QBox |
| Price | 134.99 EUR, one-time |
| Licensing | Open source - full Lua included |
| Idle performance | 0.00ms |
| Updates | Free lifetime updates |
| Support | 24/7 via the Risk Scripts Discord |
| Documentation | Risk Scripts GitBook |
- Does ADVANCED FARMING + MLO [VUE] work with ESX, QBCore and QBox?
- ADVANCED FARMING + MLO [VUE] is compatible with ESX, QBCore and QBox. The framework is detected at runtime, so the same download works on every supported server without a separate build.
- Is ADVANCED FARMING + MLO [VUE] open source or Escrow?
- This edition of ADVANCED FARMING + MLO [VUE] is fully open source, so the complete Lua is included and can be read, audited and extended.
- How much does ADVANCED FARMING + MLO [VUE] cost?
- ADVANCED FARMING + MLO [VUE] costs 134.99 EUR as a one-time purchase. It is also included in the Risk Scripts VIP package, a one-time payment that covers the Escrow edition of every current and future release.
- Does ADVANCED FARMING + MLO [VUE] affect server performance?
- ADVANCED FARMING + MLO [VUE] idles at 0.00ms and is profiled under real server load, so it runs alongside a full resource stack without measurable frame cost.
- What support and updates are included with ADVANCED FARMING + MLO [VUE]?
- Every Risk Scripts purchase includes free lifetime updates and 24/7 support through the Risk Scripts Discord, answered directly by the developers who wrote the code.
- Is this the official Risk Scripts store?
- Yes. riskscripts.com, shop.riskscripts.com and risk-scripts.tebex.io are the same official store, operated by Risk Scripts, a German FiveM development studio. Payment runs through Tebex checkout, the official Cfx.re payment partner, and the purchase is delivered to your own Cfx.re account. Risk Scripts does not sell through resellers or any other website.