Configuration
Overview
How config.lua is structured.
Everything gameplay-related lives in config.lua. After any change, restart the resource:
restart alamo-market
The config at a glance
| Setting | Purpose | Page |
|---|---|---|
Config.Debug | Verbose console logging | This page |
Config.Locale | UI / notification language | Localization |
Config.ServerLabel | Branding shown in the NUI header | Branding |
Config.DefaultPaymentMethods | Fallback payment methods | Payments |
Config.Marker | Global marker appearance | Markers |
Config.Interaction | Distance + open key | Interaction |
Config.Notify | Notification system | Notifications |
Config.ShopCatalogs | Reusable item lists | Catalogs |
Config.ShopLocations | Where shops are + which catalog | Locations |
Config.CustomShops | One-off shops with their own items | Custom Shops |
Debug mode
config.lua
Config.Debug = false
Set to true to print extra diagnostics to the console (notify fallbacks, locale loading, etc.). Leave false in production.
Editing rules of thumb
- Keep the Lua structure valid — commas between table entries, matching
{ }. - Strings use quotes:
'cash'. Names with an apostrophe use double quotes:"Rob's Liquor". - Coordinates are
vector4(x, y, z, heading). - Restart the resource after every change.
A single missing comma or bracket will stop the whole file from loading. If shops disappear after an edit, check the server console for a Lua syntax error.

