Home/ Store/ Dispensary — GreenLeaf Wellness
NEW
Gameplay· Gas Team Developers

Dispensary — GreenLeaf Wellness

v1.0.0 Updated July 2026 Qbox

A licensed medical cannabis dispensary with a storefront NUI styled as a full desktop browser window — med-card gating, live shelf stock, a staffed job with payroll, wholesale supply runs, and a business till.

GreenLeaf Wellness is a complete medical dispensary business. The storefront renders as a real browser window — traffic lights, address bar and all — showing the dispensary’s website with live stock badges. Customers need a Medical Marijuana Card to check out (browsing is always allowed); staff run the whole supply chain from a staff room: clock in, unpack wholesale cases, and manage the till.

Features

  • Browser-window storefront NUI with cart, live stock badges (“Only 4 left” / “Out of stock”), and product pages.
  • Med-card licensing flow — checkout is blocked without the license; integrates with your city-hall/licensing resource.
  • 11 ready-made ox_inventory items — flower strains, joints, edibles, vape, shatter, CBD oil, wholesale cases — with icons included.
  • Dispensary job with 5 grades (Budtender → Owner); shelf stock IS the job-locked back-room stash.
  • Wholesale distributor facility — staff order cases at 40% of retail from the till, haul them back (van recommended), and unpack.
  • Business till — sale revenue accrues per-dispensary; only the Owner withdraws. Orders and sales logged to auto-created tables.
  • Auto-restock fallback keeps the shop working with no staff hired — turn it off once the job is staffed.
  • Hardened server-side: cart re-priced from config, license re-checked, CanCarryItem verified per line, per-player checkout lock.
BusinessFiveMIllegalQbox

Browser Storefront

The shop renders as a full desktop browser window — traffic lights, address bar, and a real product website inside.

Med-Card Gating

Customers browse freely but need a Medical Marijuana Card to check out — license verified server-side at checkout.

Live Shelf Stock

The storefront shows real stock badges backed by a job-locked back-room stash; checkout removes sold product.

Staffed Job

5-grade dispensary job with staff room: clock in/out, back-room storage, unpack cases, business till.

Wholesale Supply Runs

Order cases from the distributor facility at 40% of retail, paid from the till — haul them back and unpack.

Hardened Checkout

Server re-prices the cart, re-checks the license, verifies inventory space per line, and locks against double checkout.

Installation Steps

  1. Extract rr-dispensary into your resources folder and ensure it after ox_lib, ox_inventory and qbx_core
  2. Add the disp_* items block to ox_inventory/data/items.lua and copy the item icons to ox_inventory/web/images
  3. Add the dispensary job to your framework's jobs file
  4. Stand at your counter and run /dispcoords to set the shop location; /dispsupplycoords for the wholesale facility
  5. Restart — sales/orders tables are created automatically

Dependencies

  • qbx_core
  • ox_lib
  • ox_inventory
  • oxmysql
  • ox_target

Commands

CommandDescription
/dispensaryOpen the store (within 15m of the counter)
/dispcoordsCopy a vec4 to relocate the shop or staff room
/dispsupplycoordsCopy a vec4 to relocate the wholesale facility