Installation
Install and start Nexra Minigames Weed on your FiveM server.
Installation
- Ensure ox_lib is installed and started.
- Place
nexra_mg-weedin your resources folder. - Add the following to
server.cfg:
ensure ox_lib
ensure nexra_mg-weed- Add the required inventory items (see Item setup) and match names to your recipes in
config.lua. - Configure station locations in
config.lua(see Configuration). - 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
| Resource | Notes |
|---|---|
| ox_lib | Required — loaded in fxmanifest.lua |
Auto-detected
These are picked up when started. No extra config is required for common stacks.
| Integration | Supported |
|---|---|
| Framework | qbx_core, qb-core, es_extended, custom |
| Inventory | ox_inventory, qb-inventory, qs-inventory, codem-inventory, origen_inventory, tgiann-inventory, core_inventory, jaksam_inventory, m-Inventory, one_inventory, custom |
| Target | ox_target, qb-target, tgiann-target, sleepless_interact, core_focus, custom |
| Notifications | ox_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
| Item | Used at |
|---|---|
trimmed_weed | Brick press (input) |
weed_brick | Brick press (output), brick cutting (input) |
plant_trimmer | Brick cutting, bud trimming (required tool) |
trimmed_weed | Brick cutting (output) |
og_kush_bud, white_widow_bud | Bud trimming (input) |
trimmed_og_kush, trimmed_white_widow | Bud trimming (output), bagging / rolling (input) |
empty_bag | Bagging (extra) |
og_kush_baggy, white_widow_baggy | Bagging (output) |
rolling_paper | Rolling (extra) |
joint_og_kush, joint_white_widow | Rolling (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.luashared/weed_locations.lualocales/*.jsonserver/weed_minigames.luaclient/minigames/*.luaframework/**bridges andcustomstubsmodules/**/custom/*.lua
