lation scripts
scriptsmembershipdocs
see the scripts
Skip to Content
lation ui
lation interact
lation banking
lation shops
Kinds of shopCreating shopsPlayer ownershipManagement menuStorefrontConfigurationDevelopersChangelog
lation jobs
lation weed
lation chop shop

classics

money laundering
drug sales
coke processing
meth crafting
metal detecting
scuba diving
lation shops

Configuration

Every server-wide lation shops option with its default and range, edited live under /shopadmin > Config since the resource has no config file, plus language, theme, commands and open files.

lation shops has no config file. Every server-wide option lives in the database (the lation_shops_config table) and is edited in game under /shopadmin > Config, where a change applies to the server and every player the moment it saves. Settings for one shop are on creating shops.

On the very first start, each section is seeded from shared/defaults.lua. After that, editing that file changes nothing on your server except what Reset to default restores.

The Config page

The Config page: a search and a card for each of the nine sections, each with its summary, Logging marked with 3 overridden
The Config page
  • Nine sections: General, Selling, Transactions, Ownership, Employees, Orders, Sales, Finances and Logging. Each card says how many options differ from their defaults.
  • A row saves a moment after you change it; a number or text field saves when you leave it or press Enter.
  • An option that differs from its default can be reset on its own, and Reset section resets them all.
  • The search matches option names, words from their descriptions, an id such as ownership.maxEmployees, and what an option holds: its choices, a permission, a pickup warehouse's name. A hit found that way says what matched (Includes Withdraw Funds), and the section name above each hit opens its section with the option lit.
  • Two options apply after a resource restart, and the page says so beside them: Update notifications and Trust client exports.
  • Other admins with the panel open see your changes. The changes you make in one visit to a section are logged once, when you leave it.
Config > Ownership: Shops per player changed to 3, marked and with its reset button, then each other option with its description, and Reset section in the header
A section

The Id column below is the option's id: what the search, the database, the audit log and GetConfig use.

General

OptionIdDefaultNotes
Interaction systemsetup.interactautoauto picks lation_interact, ox_target or qb-target, in that order. Also each by name, or custom, wired in client/utils/interact.lua.
Interaction distancesetup.interactDistance2.0 m0.5 to 10. How close a player stands to a shop's ped, prop or point, or a management point, for its options to show.
Notification systemsetup.notifyox_liblation_ui, ox_lib, esx, qb, okok, wasabi_notify, or custom, wired in client/utils/notify.lua.
Society bankingsetup.bankingautoWhere job accounts live. auto picks the first bank running, in the order on the overview. Also each by name, or custom, wired in server/utils/banking.lua.
Update notificationssetup.versionOnRestart. A console line when a newer version is out.
Debug messagessetup.debugOffExtra console output and the targets' debug shapes. Keep it off on a live server.
Trust client exportssetup.trustClientExportsOffRestart. Read only in the panel. See trust client exports.

Selling

OptionIdDefaultNotes
Fallback sell-back pricesetup.defaultSellPricePercentage50%0 to 100. Share of an item's price a buying shop pays when it has no Default Sell Price (%) and the item no Sell Price. 0 leaves such items off the sell tab.

Transactions

OptionIdDefaultNotes
Keep transactions forsetup.transactionRetentionDays0 days0 to 3650. Transaction rows and finished orders older than this are deleted once a day. 0 keeps everything.

Ownership

OptionIdDefaultNotes
Shops per playerownership.maxShopsPerPlayer20 to 50. How many shops one player may own, checked on purchase and on both ends of a transfer. 0 is no limit.
Owners may rename their shopownership.allowRenameOnThe name and subtitle fields in the management menu
Owners may set operating hoursownership.allowOperatingHoursOnThe opening hours in the management menu
Abandon refundownership.abandonRefundPercent50%0 to 100. Share of what the owner paid that comes back when they abandon the shop
Keep balance when purchasedownership.keepBalanceOnPurchaseOffOn, a shop keeps its balance when a player buys it. Off, it resets to 0.
Show owner name to customersownership.showOwnerInShopUIOnA player-owned shop's header reads Owned by and the owner's name, on the buy, sell and Buy & Sell screens.
Purchase payment methodsownership.purchasePaymentMethodscash, bankHow a player may pay for a shop. At least one.

Employees

OptionIdDefaultNotes
Max employees per shopownership.maxEmployees100 to 100, not counting the owner. 0 allows no staff. Shown on the purchase card.
Permission orderownership.permissionsAll 10Reorder only: the order the management menu lists permissions in
Default permissions for new hiresownership.defaultEmployeePermissionsAll offGiven at hire. Changing it never touches existing employees.
Max commission per employeeownership.maxCommissionPercent100%0 to 100. The highest commission an owner may set. 0 removes the compensation editor from every shop; stored rules are kept and stop paying.
Commission requires the employee onlineownership.commissionRequiresOnlineOnThe default for new employees: earn while online (on) or always (off). Owners can change it per employee.
Max role presets per shopownership.maxRolePresets100 to 50

The permissions and what each allows are on the management menu page.

Orders

OptionIdDefaultNotes
Default delivery timeownership.defaultDeliveryMinutes15 min0 to 1440. For catalog items with no delivery time of their own. An order takes its slowest line.
Instant deliveryownership.instantDeliveryOffOrders on the timer arrive at once
Allow stock ordersownership.allowStockOrdersOnOff removes the Orders tab everywhere and stops auto-restock; shops are stocked by hand
Delivery systemownership.deliverySystemtimertimer, m-TruckerSimulator or custom. See delivery.
Delivery rewardownership.deliveryRewardPercent10%0 to 100. A truck driver's pay, as a share of the order's wholesale total. m-TruckerSimulator only.
Minimum delivery rewardownership.deliveryRewardMinimum500The least a truck driver earns. m-TruckerSimulator only.
Pickup warehousesownership.deliveryPickupsNoneUp to 20 points, each with a label. A delivery starts at one picked at random; with none, at the trucking resource's own depot. A custom system gets the point too.
Order cancellation refundownership.orderCancelRefundPercent75%0 to 100. Share of an order's cost back to the shop when it is cancelled before delivery: by hand, by a delivery system, or when the shop is abandoned, repossessed or deleted
Allow auto-restock rulesownership.allowAutoRestockOnOff hides the editor; stored rules stop firing
Auto-restock warning cooldownownership.autoRestockNotifyCooldown300 s0 to 3600. The least time between "auto-restock skipped" notices per shop

Delivery reward and Minimum delivery reward are greyed out unless the delivery system is m-TruckerSimulator, the only one that pays them (a custom system pays its own drivers). Pickup warehouses is greyed out unless it is m-TruckerSimulator or custom.

Config > Orders with the delivery system on m-TruckerSimulator, a 10% reward, a 500 minimum and two pickup warehouses, Elysian Island docks and Sandy Shores depot
Trucking deliveries

Sales

OptionIdDefaultNotes
Max sale discountownership.maxSaleDiscountPercent50%0 to 100. The deepest discount an owner may run. 0 means no sales can start.
Max sale durationownership.maxSaleDurationHours48 h1 to 168. Also shapes the duration presets owners see.

Finances

OptionIdDefaultNotes
Bank accountsownership.bankAccountsOnWith lation_banking 1.1.0 or newer as the society bank, every shop's balance is a business account at the bank. Off, each account's money moves back to its shop at once; on again, it moves to the bank. See bank accounts.
Balance accountsownership.balanceAccountsbank, cashWhere owners withdraw to and deposit from, in order. The first also receives every automatic payout: abandon refunds, settled staff earnings, pay queued for an offline employee, earnings claimed from the dashboard, and a deleted shop's balance paid to its owner.
Max withdrawal per transactionownership.maxWithdrawPerTransaction0The most an owner may withdraw at once. 0 is no limit.

Logging

Never sent to clients, and not returned by GetConfig.

OptionIdDefaultNotes
Logging servicelogs.servicenonenone, discord or fivemanage. Fivemanage needs fmsdk, started before lation_shops.
Include screenshotslogs.screenshotsOffFivemanage only: a screenshot of the player who caused the event
Webhook namelogs.discord.nameShopsThe name Discord posts under
Webhook URLlogs.discord.linkEmptyWrite only: it never leaves the server, so the field shows only whether one is set
Webhook profile imagelogs.discord.imagehttps://i.imgur.com/ILTkWBh.pngThe picture beside the webhook's name
Webhook footer imagelogs.discord.footerhttps://i.imgur.com/ILTkWBh.pngThe small picture in each message's footer

Each event has its own switch, all off by default:

EventIdLogs
Player purchaseslogs.events.purchaseItems bought from a shop
Player saleslogs.events.saleItems sold to a shop
Shop creationlogs.events.shopCreatedA shop created in the admin panel
Shop editslogs.events.shopEditedA shop saved in the admin panel
Shop deletionslogs.events.shopDeletedA shop deleted in the admin panel, and what its owner was paid
Catalog changeslogs.events.catalogsCatalogs saved or deleted
Ownershiplogs.events.ownershipShops bought, abandoned, transferred, or assigned and repossessed by an admin
Stafflogs.events.employeesEmployees hired, fired, or given a new role, permissions or commission
Stock orderslogs.events.ordersOrders placed, cancelled and delivered
Sale eventslogs.events.salesOwner sales started and ended
Shop financeslogs.events.financesDeposits and withdrawals, bonuses paid, earnings claimed
Stock movementslogs.events.stockItems staff put into or take out of stock
Configuration changeslogs.events.configEditedEverything changed on the Config page, one entry per visit to a section

Trust client exports

setup.trustClientExports is a security switch. On, the client openShop export skips the server's distance check, and so can a cheater calling it. Leave it off and open shops from the server with exports.lation_shops:openShop(source, shopId) instead.

The panel shows it but won't change it. It is stored in lation_shops_config, in the general row under the key setup.trustClientExports, and applies after a restart.

Language

English and Spanish ship in locales/. Pick one with a replicated convar, so clients read it too:

server.cfg
setr lation:locale "es"

A string a translation lacks reads in English. The locale files ship open, so you can edit the text or add a language.

Theme

While lation_ui runs, the shop, admin and management screens take the theme lation ui gives each player when they join, and follow the server theme live whenever an admin saves it with /uitheme. A change a player makes to their own theme shows the next time they join. Without lation ui they use the built-in look, which is lation ui's default. See lation ui theming.

The same 24/7 Store in lation ui's Terminal theme: a green accent, monospace type and square corners
A shop in another lation ui theme

Commands

CommandWhoDoes
/shopadminACE lation_shops.adminOpens the admin panel

Owners and staff open their management menu from the shop itself; there is no command for it.

Open files

These ship unescrowed, so you can change them:

FileUse it for
server/utils/perms.luaWho counts as an admin. The default is the ACE permission lation_shops.admin.
server/utils/hooks.luaYour own logic at fixed points in every flow. See hooks.
server/utils/banking.luaA bank of your own, and how custom payment methods are charged and paid
server/utils/logging.luaHow logs are sent
server/database/queries.luaEvery query
bridge/client.lua, bridge/server.luaThe framework, inventory, licenses, jobs and money calls, each with a slot for a custom one
client/utils/interact.luaThe interaction system, with a Custom slot
client/utils/notify.luaNotifications, with a Custom slot
client/utils/peds.lua, client/utils/blips.luaHow peds and blips are made
client/utils/theme.luaHow the screens take the lation ui theme
locales/*.jsonEvery string players and admins read

Still stuck? Ask in our Discord: the people who write the scripts answer.

Last updated November 10, 2026

Storefront

What players see at a lation shops shop (buying with a cart, selling items back, purchase history, sales, a shop for sale) and what the server checks at checkout.

Developers

The lation shops server and client exports, the server events it fires, its hooks and custom stock deliveries, with parameters, return shapes and Lua examples.

On this page

The Config pageGeneralSellingTransactionsOwnershipEmployeesOrdersSalesFinancesLoggingTrust client exportsLanguageThemeCommandsOpen files
lation scripts

FiveM scripts for Qbox, QBCore and ESX servers, made to look and work like one product.

store

  • all scripts
  • membership
  • classics

help

  • docs
  • discord
  • email support

legal

  • terms
  • refunds
  • privacy
© 2026 Lation Labslationscripts.com
  • home
  • scripts
  • membership
  • docs