Skip to main content

Installation

Step-by-step installation guide for Code9 Shop

This section

Installation

Requirements

DependencyRequired?Notes
oxmysql / mysql-async / ghmattimysqlYes (one)Database driver — auto-detected
ox_libYesRequired for 3D coordinate picker
FiveM Server 5848+YesMinimum artifact version
es_extended / qb-core / qbx_coreOptionalAny framework — auto-detected, standalone works
ox_inventory / qs-inventory / qb-inventoryOptionalAuto-detected; falls back to framework default
ox_target / qb-targetOptionalFor target-eye interactions

Steps

1. Extract Resource

Extract the code9_shop folder into your server's resources/ directory.

2. Add to server.cfg

ensure oxmysql
ensure ox_lib
ensure code9_shop

3. Database Setup

All database tables are created automatically on first start. No manual SQL required.

The script creates 4 tables: code9_shop_settings, code9_shop_stocks, code9_shop_category, and code9_shop_locations.

4. Configure

Edit shared/config.lua to set your preferred framework, inventory, notification system, admin permissions, and market settings.

5. Start Server

Restart your server. The script auto-detects your framework, inventory, and database provider. Check the server console for startup logs.