Cart & Storefront
Search, categories and box space used.
coe_amzgAmzg — Online Store
Phone and tablet e-commerce with delivery to a box at the property
coe_corecoe_databasecoe_loggingcoe_inventory
coe_amzg
5 exports · 0 commands
Runs without a NUI: nothing is rendered on the client and the resource stays idle until events arrive.
Online store on the smartphone and tablet: search, categories, storefront and cart, credit-card payment through the phone Wallet and delivery into a box inside the chosen property (home, commercial or hideout). The server recalculates prices and rejects the purchase if the catalog changed; the catalog is edited and searched in the admin panel.
The order physically arrives at the property, near the interior entrance: the player has to go pick it up.
Search, categories and box space used.
coe_banking card chosen on the phone.
Box inside the property, with an ETA.
Purchase rejected if the catalog changed.
Every COE Framework script strictly follows the principle of separation of concerns. Interact with the 3D stack below:
Operates strictly within layers L1–L3 (domain, HAL, and server-authoritative application logic). Visual interactions and management flows are delegated to centralized ecosystem apps (coe_ui / coe_tablet), guaranteeing 0.00 ms idle client overhead in FiveM DX12.
Manage your city without relying on developers. Runtime parameters, auditing, and ACE-protected commands:
IsPlayerAceAllowed(src, "coe.admin")
exports.coe_audit:Record(severity, category, event, context)
Clean Architecture & HAL
Typed contracts to call from other resources. Full types live in types.lua and in the docs reference.
exports['coe_amzg']:AdminCatalog()
→ any
Export server AdminCatalog (server/main.lua).
No parameters.
local result = exports['coe_amzg']:AdminCatalog()exports['coe_amzg']:AdminDeleteProduct(input)
→ any
Export server AdminDeleteProduct (server/main.lua).
| Parameter | Type |
|---|---|
input | any |
local result = exports['coe_amzg']:AdminDeleteProduct(input)exports['coe_amzg']:AdminSaveProduct(input)
→ any
Export server AdminSaveProduct (server/main.lua).
| Parameter | Type |
|---|---|
input | any |
local result = exports['coe_amzg']:AdminSaveProduct(input)exports['coe_amzg']:TabletCall(playerId, appId, action, payload)
→ any
Export server TabletCall (server/main.lua).
| Parameter | Type |
|---|---|
playerId | any |
appId | any |
action | any |
payload | any |
local result = exports['coe_amzg']:TabletCall(playerId, appId, action, payload)exports['coe_amzg']:TabletVisible(playerId, appId)
→ any
Export server TabletVisible (server/main.lua).
| Parameter | Type |
|---|---|
playerId | any |
appId | any |
local result = exports['coe_amzg']:TabletVisible(playerId, appId)This module registers no commands: it is driven by exports and events.