Oxide Meth

Advanced meth cooking, crystallizing, bagging, and progression system for FiveM servers.

Overview

oxide-meth is a full meth production resource built around a four-stage pipeline:

Cook -> Crystallize -> Break -> Bag

Players cook batches with a temperature minigame, choose up to two additives, dry liquid trays inside a crystallizer, break finished trays into shards, and bag the result into usable meth products. Variant and purity metadata are carried through the entire chain so the final bagged items reflect both recipe choice and cook quality.

The resource ships with 10 additives, 10 named variants plus the default Crystal output, a 10-level progression track, and usable meth effects driven by per-variant effect profiles and purity multipliers.

Technical

DependencyRequiredPurpose
o-linkYesFramework abstraction for lifecycle, character identity, inventory, notify, targeting, and usable-item registration
ox_libYesLocale, callbacks, and UI helpers
oxmysqlYesDatabase access for progression, equipment, and drying slots

Database

  • drugs_progression: shared drug progression table; meth rows use drug = 'meth'
  • drug_equipment: shared placed equipment state
  • meth_drying_slots: crystallizer slot persistence
  • oxide_settings: shared live-settings storage; meth rows use resource = 'oxide-meth'

All tables are created automatically at first start — no SQL script to run.

Frontend

Vue 3 + Vite + Tailwind CSS for the cooking HUD, additive UI, drying panel, bagging flow, stats card, and in-game manual.

Features

  • Interactive cooking with four base ingredients, up to two additives, cycling heat-control keys, and purity scoring based on temperature control.
  • Additive-driven named variants including Glass, Blue Sky, Purple Haze, Lean Crystal, Green Rush, Dirty Sprite, Street Mix, Rocket Fuel, Club Special, and Ice.
  • Persistent crystallizer storage with 18 total tray slots and restart-safe drying progress.
  • Tray breaking with variant-specific shard items and shard-count modifiers.
  • Bagging minigame with shard weights, target seal range, and metadata-preserving outputs.
  • Bagged meth usage effects with per-variant overrides, purity scaling, and a shared cooldown.
  • Meth progression with XP rewards for cooking, drying, breaking, and bagging plus additive unlocks tied to level.
  • Gas mask item support and fume-effect mitigation during the cooking flow.
  • Live in-game settings editor (/meth settings) — every setting stored in the database, edited in-game by admins, validated on save, and applied to all players without a restart; safe zones drawn with an in-world polygon tool.
  • Single /meth command: /meth stats for players, plus admin subcommands /meth settings, /meth kit, /meth sellkit, and /meth setlevel.

Documentation