Admin Guide

Admin commands, test helpers, and player-facing meth commands.

Commands and permissions for the current oxide-meth resource.

Commands Overview

CommandDescriptionAccess
/methkitGives a full meth production starter kitAdmins (see Permissions)
/meth_sellkitGives random sellable meth baggies for testingAdmins
/setmethlvl [id] [level]Sets a player's meth level and XP to that level's thresholdAdmins (also works from the server console)
/methstatsShows the local player's meth progression cardPlayer command

Admin Commands

/methkit

Gives the caller:

  • 5x each base ingredient
  • 1x meth_table
  • 1x meth_crystallizer
  • 10x baggy
  • 3x each configured additive
  • 1x gas_mask
  • 1x 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 player
  • level — target meth level (must exist in Config.Progression.levels, ships as 110)

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.admin

If 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.

Next Steps