Farming for FiveM, by m-Scripts
FARM

Plant it. Raise it. Sell it.

Buy a farm, grow 8 crops and raise 6 animals. Weather and seasons change how fast things grow. Sell at a market that moves, or deliver contracts for more.

The farm overview with weather, season and slots
The farm shop with seeds, animals and supplies
The farm storage with crops and animal products
The farm market with live prices and a sell cart
The contracts board with reputation
Farm decorations you can buy and place
01Your farm

Watch the sky.
It matters.

The farm screen shows the weather, the season and the growth they add up to. Plus your plant slots, animal slots, storage and farm level.

02The shop

Seeds. Animals.
Supplies.

Buy seeds, animals, water, fertilizer and feed from the farm shop. Put several in the cart and pay once.

03Storage

Harvest goes
in the barn.

Crops and animal products land in the farm storage. 100 units to start, up to 300 with the upgrade. Take items out when you need them.

04The market

Prices move.
Sell smart.

Every product has a base, a low and a high price. Prices change every hour, up to 15%. Sell 10 or more at once for a bulk bonus.

05Contracts

Deliver orders.
Build a name.

Take up to 3 contracts at a time from the contracts NPC. Deliver the goods before they expire and climb from Novice to Legendary Farmer.

06Decorations

Make it
look like yours.

Fences, gates, hay bales, sheds, tools, benches and lights. Buy them and place them on your farm, up to 50 per farm.

Showcase

See it growing.
From seed to sale.

What grows

8 crops.
6 animals.

Crops grow through 5 stages. Animals make a product on a timer while they stay fed, watered and healthy. Times and base market prices below are the defaults, all in the config.

Crops

Tomato5 min to grow$15 base
Corn7.5 min to grow$20 base
Potato4 min to grow$12 base
Wheat6 min to grow$18 base
Lettuce3 min to grow$10 base
Carrot4.5 min to grow$14 base
Pumpkin8 min to grow$35 base
Strawberry5.5 min to grow$22 base

Animals

CowMilk every 60 min$45 base
PigRaw meat every 20 min$60 base
ChickenEggs every 10 min$12 base
BoarWild meat every 25 min$75 base
DeerVenison every 35 min$85 base
RabbitPelts every 10 min$30 base
0Crops to grow
0Animals to raise
0Contract types
0Farm upgrades
0Decorations to place
Everything in the box

A whole farm life.
Not a click and wait.

Buy a farm

Walk to a farm, talk to the NPC and buy it. Each farm has its own price, zone and slots.

Ownership

Sell or transfer

Sell the farm back for 70% of what you paid, or hand it to a player near you for a fee.

Config

5 growth stages

Each stage can use its own prop and height, so the field changes while it grows.

Crops

Water and fertilizer

Plants lose water every minute. Water and fertilize them to keep the health up.

Care

Plant health

A plant needs full health to harvest. Leave it dry and it loses health, then dies.

Decay

Animal needs

Hunger, thirst and health for every animal. Keep them cared for to collect the product.

Animals

Weather

Each weather type speeds up or slows down growth. Rain and thunder water the plants for you.

Weather sync

Seasons

The real month sets the season. Spring grows fastest, winter grows slowest.

Seasons

Live market

Prices move every hour inside a low and high limit. Green and red arrows show the trend.

Market

Bulk bonus

Sell 10, 25, 50 or 100 items at once for 5% up to 20% more.

Market

Contracts

7 delivery orders, from fresh vegetables to a harvest festival. Up to 3 at a time.

Deliveries

Reputation

5 ranks from Novice to Legendary Farmer. Higher ranks pay up to 1.5x on contracts.

Progress

6 upgrades

More plant slots, more animal slots, more storage, auto water, auto feed and a greenhouse.

Upgrades

Greenhouse

The greenhouse upgrade makes plants grow 25% faster.

Upgrade

Automation

Auto water tops up dry plants and auto feed takes care of hungry and thirsty animals.

Upgrades

Co-owners

Add up to 3 co-owners. Choose what they can do with 11 permission switches.

Co-op

Decorations

20 props in 7 groups: fences, structures, tools, plants, furniture, lights and signs.

Build

Farm stall

List up to 20 products in your own shop with an NPC. Other players can buy while you are away.

Offline shop

Care alerts

Get a notice when plants run low on water or health, or animals get hungry or thirsty.

Notifications

Statistics

The farm keeps track of what you earn and what you spend.

Stats

Phone app

Farm Manager app for lb-phone and sd-phone: plants, animals, storage, upgrades, contracts and prices.

Included

Discord logs

Farm purchases, sales and transfers can go to a webhook.

Webhook

Auto database

The tables are made on the first start. No SQL to run by hand.

Setup

English and Portuguese

Both languages included, for the script and the phone app.

Locales
Straight answers

What you get.
What you need.

Included

  • The script with its own UI, in English and Portuguese
  • 2 farms at Grapeseed, a shop, a market and a contracts NPC, ready to use
  • 26 item pictures and the item lists for your inventory
  • The Farm Manager phone app for lb-phone and sd-phone
  • 19 server exports for your other scripts

Good to know

  • Needs ox_lib and oxmysql. Tables are made on start
  • Needs a target: ox_target, qb-target or your own through the custom bridge
  • Weather effects need a supported weather script, or the custom bridge
  • Growth times in the config are per stage. A plant has 5 stages
  • Add the items to your inventory before you start
Plugs into your server

Your stack.
Already supported.

Framework, inventory, target and weather script are found on their own when the server starts. Anything else plugs into the custom bridge files.

Framework

QboxQBCoreESX

Inventory

ox_inventoryqb-inventoryqs-inventorytgiann-inventoryCustom

Target

ox_targetqb-targetCustom

Weather

qb-weathersyncRenewed-Weathersynccd_easytimeav_weatherm-WeatherCustom

Phone app

lb-phonesd-phone

Needs

ox_liboxmysql

For developers

Your farm.
From any script.

-- who owns what
exports['m-FarmingSimulator']:DoesPlayerOwnFarm(source)
exports['m-FarmingSimulator']:GetPlayerFarm(source)

-- farm storage
exports['m-FarmingSimulator']:AddToFarmInventory(source, 'tomato', 10)
exports['m-FarmingSimulator']:RemoveFromFarmInventory(source, 'milk', 5)

-- reputation and stats
exports['m-FarmingSimulator']:AddPlayerReputation(source, 25)
exports['m-FarmingSimulator']:GetPlayerStatistics(source)
FAQ

Before you buy.

Can I add more farms?

Yes. Farms live in Config.FarmLocations with their zone, price, NPC and slots. 2 farms at Grapeseed come ready to use.

Can I change the crops and animals?

Yes. Seeds, animals, supplies and market prices are all in the config, with the props, times, amounts and prices.

Do I need a weather script?

No, but weather effects need one. qb-weathersync, Renewed-Weathersync, cd_easytime, av_weather and m-Weather are found on their own. Seasons follow the real month.

Can friends work the same farm?

Yes. Add up to 3 co-owners and pick what they can do, like planting, selling or using the storage. Selling the farm stays with the owner by default.

Does it work on ESX?

Yes. Qbox, QBCore and ESX are found on their own when the server starts.

Is there a phone app?

Yes. The Farm Manager app comes in the download and works with lb-phone and sd-phone.

STARTPLANTING.

Available now for 24.59 EUR.

Buy Farming Simulator