Admin Guide
Admin commands, test helpers, and player-facing meth commands.
Commands and permissions for the current oxide-meth resource.
Commands Overview
| Command | Description | Access |
|---|---|---|
/methkit | Gives a full meth production starter kit | Admins (see Permissions) |
/meth_sellkit | Gives random sellable meth baggies for testing | Admins |
/setmethlvl [id] [level] | Sets a player's meth level and XP to that level's threshold | Admins (also works from the server console) |
/methstats | Shows the local player's meth progression card | Player command |
Admin Commands
/methkit
Gives the caller:
5xeach base ingredient1x meth_table1x meth_crystallizer10x baggy3xeach configured additive1x gas_mask1x meth_manual
Requires admin access (see Permissions).
/meth_sellkit
Gives six random groups of bagged meth products for testing.
Each generated item includes metadata for:
- variant key
- variant name
- purity grade
- additive list
- generated description
Amounts are randomized from 1 to 5 per generated stack, and purity is randomized across Pure, High, Mid, Low, and Dirty.
/setmethlvl [id] [level]
Sets a target player's meth level and aligns their XP to that level's configured threshold.
Arguments:
id— server ID of the target playerlevel— target meth level (must exist inConfig.Progression.levels, ships as1–10)
The command validates that the level exists, the player is online, and the player has a loaded character before applying the change. Both the caller and the target receive a notification on success.
This command also works from the live server console (txAdmin or terminal), where no permission is needed. In game it requires admin access (see Permissions).
Player Command
/methstats
Displays the NUI stats card for 10 seconds.
The stats payload includes:
- current level
- total XP
- current and next level thresholds
- total created
- total sold
- current purity penalty
- additive unlock groups by required level
This command is client-side and has no ACE restriction.
Permissions
The three admin commands — /methkit, /meth_sellkit, and /setmethlvl — check whether the player is a server admin before they do anything. A player without admin access who runs one gets a "No permission" message.
Admin access uses the standard admin permission. Give your admin group the admin permission, then add your admins to that group. In server.cfg:
add_ace group.admin admin allow
add_principal identifier.license:YOUR_LICENSE_HERE group.adminIf your server already has an admin group set up this way (most do), the commands work for your admins with no extra setup. Standard QBCore/QBX/ESX admins are also accepted automatically with no server.cfg changes. Old per-command grants such as command.methkit no longer apply.
/methstats does not require any permission.