Admin Guide

Admin and player commands for managing and testing oxide-weed.

Commands Overview

Admin Commands

CommandDescriptionPermission
/weed_kitGive yourself a full growing kitcommand ACE
/weed_seedsGive 5 seeds of 3 random strainscommand ACE
/weed_givebuds [amount] [type]Give yourself weed buds with generic metadatacommand ACE
/weed_growInstantly grow the nearest plant to harvest stagecommand ACE
/weed_waterSet nearest plant water and fertilizer to 100%command ACE
/weed_dryInstantly dry all buds on the nearest drying rackcommand ACE
/weed_fasttickToggle fast plant update tick (5s) for testingcommand ACE
/weed_setxp [amount]Set your weed XP to a specific valuecommand ACE
/weed_infoShow plant/lamp/equipment counts and your progressioncommand ACE
/weed_clearplantsRemove all plants from the servercommand ACE
/weed_clearlampsRemove all lamps from the servercommand ACE
/weed_clearequipmentRemove all equipment from the servercommand ACE

Player Commands

CommandDescriptionPermission
/weedstatsView your growing progression and statsNone

Command Details

/weed_kit

Adds a complete set of growing supplies to your inventory for testing purposes.

Items Given:

  • 1x Cannabis Seed, Plant Pot, Water, Fertilizer
  • 1x Grow Lamp, Weed Table, Heater, Trimming Scissors
  • 5x Baggy
  • 1x Storage Tote, Small Water Container, Watering Can
  • 1x Freeze Dryer, Growing Manual
  • 5x Rolling Papers, 5x Cigarillo Wraps, 1x Lighter

/weed_seeds

Gives 5 seeds each of 3 randomly selected base strains with proper genetic metadata.

/weed_givebuds

Gives weed buds (or any specified item) with Generic strain metadata at Mid quality.

Parameters:

ParameterTypeRequiredDefaultDescription
amountnumberNo20Number of items to give
typestringNoweed_budItem name to give

Examples:

/weed_givebuds              -- 20x weed_bud
/weed_givebuds 50           -- 50x weed_bud
/weed_givebuds 10 dried_weed_bud  -- 10x dried_weed_bud
/weed_givebuds 5 weed_1g    -- 5x weed (1g)

/weed_grow

Instantly advances the nearest plant (within 10 units) to its final growth stage, making it ready for harvest. Does not change the plant's gender — you still need to check gender separately. Quality is locked based on the plant's current care score at the time of advancement.

/weed_water

Sets the nearest plant's water and fertilizer levels to 100%.

/weed_dry

Instantly dries all undried buds on the nearest weed table (drying rack) within 10 units.

/weed_fasttick

Toggles the plant update interval between normal (default 60 seconds) and fast mode (5 seconds). Useful for testing growth, resource decay, and drying without waiting. Affects all plants on the server, not just yours. The fast tick also speeds up resource decay, so plants may die faster.

/weed_setxp

Sets your weed progression XP to an exact value. The level is automatically recalculated.

Examples:

/weed_setxp 0        -- Reset to level 1
/weed_setxp 300      -- Set to level 3
/weed_setxp 3200     -- Set to level 7 (freeze dryer access)
/weed_setxp 11000    -- Set to level 10 (max)

/weed_info

Displays server-wide counts and your personal progression data.

Output:

Plants: 12 | Lamps: 8 | Equipment: 5 | Level: 4 | XP: 820 | Created: 15

/weed_clearplants

Removes all planted cannabis from the server. This is destructive and cannot be undone.

/weed_clearlamps

Removes all grow lamps from the server.

/weed_clearequipment

Removes all placed equipment (weed tables, containers, totes, freeze dryers) from the server. Also cleans up associated drying slots and heaters. Stash contents in storage totes are cleared.


Player Commands

/weedstats

Displays a stats card on the right side of the screen showing your growing progression. The card auto-closes after 10 seconds. No permissions required.

Information Shown:

  • Current level and XP with progress bar to next level
  • Total plants grown
  • Total items sold
  • Milestone checklist (selling, lab reports, crossbreeding, cloning, freeze dryer)

Permissions

All admin commands require the command ACE permission, checked via IsPlayerAceAllowed(source, 'command').

ACE Permissions

Grant admin access in your server.cfg:

# Grant to the admin group
add_ace group.admin command allow

# Add a player to the admin group
add_principal identifier.license:abc123 group.admin

The permission check is framework-agnostic and uses FiveM's native ACE system directly.


Next Steps