Admin Guide

The /weed command, the live settings editor, and admin test helpers.

Commands and permissions for the current oxide-weed resource.

The /weed Command

Everything is under one command: /weed <subcommand>. Typing /weed on its own shows a usage hint, and on servers running a chat resource that supports subcommand suggestions (such as oxide-chat) the autocomplete also lists every subcommand with its arguments. There is one player subcommand (/weed stats, no permission needed); everything else is admin-only.

Setting Up Permission

Admin subcommands check the standard FiveM command permission (framework admins on QBCore/QBX/ESX already have this). Give it to your admin group in server.cfg (or your permissions config):

add_ace group.admin command allow
add_principal identifier.license:abc123 group.admin

If your admins already run other restricted commands, they likely have this. Two things to know:

  • These commands must be run in game — they do nothing from the server console.
  • If a subcommand does nothing, the player doesn't have the permission (they'll see a "no permission" notification) or something failed server-side — check the console.

Command List

CommandWhat it does
/weed statsShows the progression card (any player, no permission needed)
/weed settingsOpens the live settings editor — change any setting in game, saved to the database
/weed kitGives you one of everything — seeds, supplies, equipment, manual, smoking items
/weed seedsGives 5 seeds each of 3 random base strains
/weed givebuds [amount] [item]Gives you product with test metadata
/weed growInstantly finishes the nearest plant
/weed waterFills the nearest plant's water and fertilizer to 100%
/weed dryInstantly dries everything on the nearest weed table
/weed fasttick [multiplier]Speeds up plant time server-wide for testing
/weed setxp [amount]Sets your weed XP to an exact number
/weed infoShows server totals and your progression
/weed sellkitGives randomized sellable products for testing
/weed clearplantsRemoves every plant on the server
/weed clearlampsRemoves every grow lamp on the server
/weed clearequipmentRemoves every placed piece of equipment on the server

Command Details

/weed settings

Opens the in-game settings editor. Every setting the resource has — prices, timers, strains, store inventory, NPC locations, zones — can be changed here, and changes apply immediately without a restart. Saved values live in the database and survive restarts. See Configuration for how this works.

/weed kit

The fastest way to test. Gives 1 seed, pot, water, fertilizer, lamp, table, heater, scissors, watering can, tote, small water container, freeze dryer, manual, lighter, plus 5 baggies, 5 rolling papers, and 5 cigarillo wraps.

/weed seeds

Picks 3 random base strains and gives you 5 seeds of each, with full strain data attached.

/weed givebuds [amount] [item]

Gives test product. Without arguments: 20 weed_bud. The items come tagged as "Generic Kush", Mid quality.

/weed givebuds
/weed givebuds 10 dried_weed_bud
/weed givebuds 5 weed_1g

/weed grow

Finds the nearest plant within 10 meters and jumps it to fully grown, ready to harvest.

/weed water

Finds the nearest plant within 10 meters and sets both water and fertilizer to 100%.

/weed dry

Finds the nearest weed table within 10 meters and instantly finishes any buds drying on it. (Does not affect drying racks or freeze dryers.)

/weed fasttick [multiplier]

Speeds up all plant time on the server — growth and water/fertilizer drain — so you can test the full loop without waiting hours.

  • /weed fasttick with no number toggles 12x speed on and off
  • /weed fasttick 50 runs plants 50x faster
  • /weed fasttick 1 restores normal speed

This affects the whole server, so use it on a test server or quiet hours, and remember to set it back to 1. It resets to normal on restart.

/weed setxp [amount]

Sets your weed XP to the exact number given and recalculates your level. Useful for testing level-gated features: /weed setxp 5000 puts you at level 8 (brick press).

/weed info

Shows total plants, lamps, and equipment on the server, plus your own level, XP, and lifetime created count.

/weed sellkit

Gives 5 random stacks of sellable product (weed_1g through weed_brick) with random strains, qualities, and generations — handy for testing oxide-drugselling.

/weed clearplants, /weed clearlamps, /weed clearequipment

Wipe all plants, lamps, or placed equipment server-wide, including from the database. There is no undo — players are not refunded the items.

Police Alerts

Under Dispatch (in the Core category of /weed settings, on the Advanced tab) you can make growing carry a risk of being reported to police.

Set Alert chance above 0 and every time a player starts a stage the server rolls for a dispatch call at that plant's or table's location. Each of the four stages — plant, harvest, dry, brick press — can carry its own chance; leave one at -1 and it follows the master chance. Wild plant harvesting never alerts.

Two settings stop it becoming noise:

  • Site cooldown (default 5 minutes) — the same plant or table can't raise a second alert until it expires. Other sites are unaffected.
  • Per-stage chance — turn the quiet stages down or off. Setting Plant to 0 is a common choice, so only an established grow gets reported.

Everything is decided on the server from the site's stored position, so a player can't suppress the alert or make it point somewhere else.

Changes apply live. See Configuration for the full field list and what you need installed.

Next Steps