Nexra Studios
Paid ReleasesMinigames: Weed

Installation

Install and start Nexra Minigames Weed on your FiveM server.

Installation

  1. Ensure ox_lib is installed and started.
  2. Place nexra_mg-weed in your resources folder.
  3. Add the following to server.cfg:
ensure ox_lib
ensure nexra_mg-weed
  1. Add the required inventory items (see Item setup) and match names to your recipes in config.lua.
  2. Configure station locations in config.lua (see Configuration).
  3. Restart the server (or start the resource).

The NUI is prebuilt in web/build/ — no web build step is required on install.

Load order

Start ox_lib before nexra_mg-weed. Your framework, inventory, and target resources should also be started first so auto-detection can find them.

Dependencies

Required

ResourceNotes
ox_libRequired — loaded in fxmanifest.lua

Auto-detected

These are picked up when started. No extra config is required for common stacks.

IntegrationSupported
Frameworkqbx_core, qb-core, es_extended, custom
Inventoryox_inventory, qb-inventory, qs-inventory, codem-inventory, origen_inventory, tgiann-inventory, core_inventory, jaksam_inventory, m-Inventory, one_inventory, custom
Targetox_target, qb-target, tgiann-target, sleepless_interact, core_focus, custom
Notificationsox_lib, lation_ui, okokNotify, mythic_notify, solaire_notify, pnotify, custom

A target resource is required. Stations register box or sphere zones (or attach to streamed world props) through the detected target provider.

Framework support

Works with Qbox, QBCore, and ESX. For other frameworks, edit framework/custom/.

Item setup

Item names must match the recipes blocks on each station in config.lua. The defaults below ship with the resource — rename them to fit your economy.

Default items

ItemUsed at
trimmed_weedBrick press (input)
weed_brickBrick press (output), brick cutting (input)
plant_trimmerBrick cutting, bud trimming (required tool)
trimmed_weedBrick cutting (output)
og_kush_bud, white_widow_budBud trimming (input)
trimmed_og_kush, trimmed_white_widowBud trimming (output), bagging / rolling (input)
empty_bagBagging (extra)
og_kush_baggy, white_widow_baggyBagging (output)
rolling_paperRolling (extra)
joint_og_kush, joint_white_widowRolling (output)
['trimmed_weed'] = { label = 'Trimmed Weed', weight = 1, stack = true, close = true },
['weed_brick'] = { label = 'Weed Brick', weight = 1000, stack = true, close = true },
['plant_trimmer'] = { label = 'Plant Trimmer', weight = 200, stack = false, close = true },
['og_kush_bud'] = { label = 'OG Kush Bud', weight = 5, stack = true, close = true },
['white_widow_bud'] = { label = 'White Widow Bud', weight = 5, stack = true, close = true },
['trimmed_og_kush'] = { label = 'Trimmed OG Kush', weight = 1, stack = true, close = true },
['trimmed_white_widow'] = { label = 'Trimmed White Widow', weight = 1, stack = true, close = true },
['empty_bag'] = { label = 'Empty Bag', weight = 1, stack = true, close = true },
['og_kush_baggy'] = { label = 'OG Kush Baggy', weight = 5, stack = true, close = true },
['white_widow_baggy'] = { label = 'White Widow Baggy', weight = 5, stack = true, close = true },
['rolling_paper'] = { label = 'Rolling Paper', weight = 1, stack = true, close = true },
['joint_og_kush'] = { label = 'OG Kush Joint', weight = 2, stack = true, close = true },
['joint_white_widow'] = { label = 'White Widow Joint', weight = 2, stack = true, close = true },

Add images to your inventory image folder where required. Only add the items your recipes actually use.

Locales

Locale files live in locales/. Set Config.Locale in config.lua.

Included: en, de, es, fr, nl, pt-br, tr, cs

Editable files

These remain open for customization (escrow ignore):

  • config.lua
  • shared/weed_locations.lua
  • locales/*.json
  • server/weed_minigames.lua
  • client/minigames/*.lua
  • framework/** bridges and custom stubs
  • modules/**/custom/*.lua

On this page