Installation Guide - SMX Docs
SMX logo

SMX Documentation

Production-grade Script Knowledge Base

Build 2026.04 Live Docs


Installation Guide (Owned Shops Ready)

Quick Start for smx-ownedshops

  1. Extract the package and place the resource as smx-ownedshops
  2. Start dependencies first (mysql-async, framework, optional target/inventory)
  3. Set config.lua to your framework and preferred integration mode
  4. Start the server and let the script create/update DB tables automatically
  5. Test shop purchase, owner panel and delivery workflow in game

Recommended server.cfg Order

ensure mysql-async
ensure ox_lib
ensure es_extended   # or qb-core
ensure ox_inventory  # optional
ensure ox_target     # optional
ensure smx-ownedshops

Important Notes

  • No manual SQL import required (tables are created by the script on startup)
  • Do not rename the resource folder, NUI callbacks depend on smx-ownedshops
  • Creator panel access is protected by group and/or ACE permissions

Common Installation Issues

  • Script does not start: mysql-async missing or wrong start order
  • Shop UI does not open: resource folder is not named smx-ownedshops
  • No creator access: missing permission setup in config/ACE