Configuration Guide
A beginner-friendly guide to creating and configuring shops.
Quick Start
Open configs/shops.lua and copy this template:
['my_shop'] = {
name = 'My Shop Name',
subtitle = 'My Shop Subtitle',
shopType = '247store',
location = vector3(0.0, 0.0, 0.0),
blip = {
sprite = 52,
color = 2,
scale = 0.7,
display = 4
},
ped = {
enabled = true,
model = 'mp_m_shopkeep_01',
coords = vector3(0.0, 0.0, 0.0),
heading = 0.0,
scenario = 'WORLD_HUMAN_STAND_MOBILE'
},
registers = {
enabled = false,
coords = {}
},
items = {},
ownership = {
enabled = false,
coords = vector3(0.0, 0.0, 0.0),
price = 0
}
}Then just:
Change
'my_shop'to a unique nameFill in your coordinates
Pick a
shopTypefrom the list below (configure anything else you'd want to change)Done!
Shop Types
Pick one of these for your shopType:
247store
Food, drinks, basic supplies
liquorstore
Alcohol, snacks
hardware
Tools, materials, repair kits
pharmacy
Medical supplies
gunstore
Weapons, ammo, attachments
Example:
Adding a New Shop Type
If the existing shop types don't fit your needs:
Step 1: Add display settings in configs/config.lua:
Step 2: Add base products (if using BaseProducts):
Step 3: Add categories for your items:
Step 4: Add to product whitelist in configs/management.lua (for owned shops):
Categories Explained
Categories group items together in the shop UI. They're configured in configs/config.lua.
Each category has:
title - Display name
color - Badge color
types - Which shop types use it (empty = all shops)
items - Which items belong to it
Available colors: emerald, purple, orange, red, slate, blue, green, yellow, pink, indigo, cyan, teal, lime, amber, rose, fuchsia, violet, sky, gray
Configuration Explained
Basic Info
Map Blip
Common blip sprites:
52= Shopping cart (convenience stores)93= Goblet (liquor stores)402= Wrench (hardware)110= Gun (weapon shops)
Shop Ped (The Clerk)
Common ped models:
mp_m_shopkeep_01= Standard shopkeepers_m_y_ammucity_01= Gun store clerka_m_m_eastsa_02= Casual males_m_m_cntrybar_01= Country/hardware store worker
Common scenarios:
WORLD_HUMAN_STAND_MOBILE= Standing with phoneWORLD_HUMAN_CLIPBOARD= Holding clipboardWORLD_HUMAN_STAND_IMPATIENT= Standing, looking around
Cash Registers (Optional)
If your shop doesn't have physical registers, just use:
Shop Items
Note: This is ignored if
BaseProductsis enabled in config.lua (it is by default). When enabled, all shops of the same type share the same items.
Player Ownership
If you don't want players to own this shop:
Common Examples
Example 1: Basic 24/7 Store
Example 2: Hidden Illegal Shop (Dirty Money Only)
Example 3: Gun Store with License Requirements
Last updated