Admin Guide
Admin and player commands for managing and testing oxide-weed.
Commands Overview
Admin Commands
| Command | Description | Permission |
|---|---|---|
/weed_kit | Give yourself a full growing kit | command ACE |
/weed_seeds | Give 5 seeds of 3 random strains | command ACE |
/weed_givebuds [amount] [type] | Give yourself weed buds with generic metadata | command ACE |
/weed_grow | Instantly grow the nearest plant to harvest stage | command ACE |
/weed_water | Set nearest plant water and fertilizer to 100% | command ACE |
/weed_dry | Instantly dry all buds on the nearest drying rack | command ACE |
/weed_fasttick | Toggle fast plant update tick (5s) for testing | command ACE |
/weed_setxp [amount] | Set your weed XP to a specific value | command ACE |
/weed_info | Show plant/lamp/equipment counts and your progression | command ACE |
/weed_clearplants | Remove all plants from the server | command ACE |
/weed_clearlamps | Remove all lamps from the server | command ACE |
/weed_clearequipment | Remove all equipment from the server | command ACE |
Player Commands
| Command | Description | Permission |
|---|---|---|
/weedstats | View your growing progression and stats | None |
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:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| amount | number | No | 20 | Number of items to give |
| type | string | No | weed_bud | Item 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
- Configuration — Customize all resource settings
- Troubleshooting — Common issues and solutions