For the complete documentation index, see llms.txt. This page is also available as Markdown.

Installation

Page dedicated to how to install our Gardener [V2]

Step #1 - Drag & Drop

Just Drag & Drop the qf_gardener_v2 folder into your resources folder.

If you ran our Gardener Multiplayer Job (qf_gardener), remove its ensure line. Gardener V2 provides qf_gardener, so scripts that depend on the V1 name keep working. See Moving from V1.

Step #2 - SQL Installation

There’s no need to manually insert any SQL file into your database. On every start the script creates its tables (qf_gardener_v2_*), checks every table and column and adds whatever is missing. Updates only ever add, so restarting or updating the resource never drops your data.

On the first start six upkeep plots are added on the V1 work places (Rockford Hills, Mirror Park, Davis, East Mirror Drive, Paleto Bay and Grapeseed), so upkeep jobs run right away. A default plot you delete does not come back.

Step #3 - Items

Gardener V2 uses no inventory items. Tools, garden bags and catalog items are props handed out and taken back by the script.

Step #4 - Script start

Make sure oxmysql and your framework start before Gardener V2:

ensure oxmysql
ensure es_extended        # or qb-core / qbx_core
ensure qf_gardener_v2

On start the console prints the version, the framework and the target it found, followed by missing hooks and outdated editable files, if any.

Step #5 - Admin access

The admin panel opens with /gardenadmin for the groups superadmin, admin and god, or for anyone with the ace below. Add it to your server.cfg if you use aces:

Then join the server and run /gardenadmin. The dashboard lists what still blocks the first design job (plots, work spots, van parking, catalog, client briefs, a test run) with a button to each page, and hides the list once everything is done.

Design jobs and garden orders need a design plot. Open Admin → Plots → New plot → Draw in the world and walk around the garden. See Admin Panel.

Requirements

  • ESX, QBCore or QBox, detected automatically

  • oxmysql

  • OneSync

Optional:

  • ox_target, qb-target or qtarget. Without one, every spot has a ground ring, an arrow and a key prompt (E by default, rebindable in Settings → Key Bindings → FiveM).

  • ox_lib for notifications, when you do not use the built-in QF notifications.

  • A vehicle key script for the work van: qbx_vehiclekeys, qb-vehiclekeys, Renewed-Vehiclekeys, MrNewbVehicleKeys, wasabi_carlock, qs-vehiclekeys, Jaksam's vehicles_keys, mk_vehiclekeys, t1ger_keys, cd_garage, okokGarage or your own.

  • A fuel script: ox_fuel, LegacyFuel or cdn-fuel. Without one, the native fuel level is set.

  • Our Banking [V2] for payouts to the bank account and income tax.

  • A housing script (qs-housing, ps-housing, loaf_housing or your own) when garden orders should be limited to the owner of a property.

Last updated