Weekly Subscriptions
Recurring charge on the card chosen in the Wallet.
coe_appsCOE OS App Store
Store, Jobs, Classifieds, Insta and Studio for phone and tablet
coe_corecoe_databasecoe_logging
coe_apps
8 exports · 0 commands
Runs without a NUI: nothing is rendered on the client and the resource stays idle until events arrive.
The COE OS app store, shared by the tablet and the smartphone. Paid apps are weekly credit-card subscriptions paid through the phone Wallet. Ships the Jobs, Classifieds (listings with a fee and duration), Insta (photo feed with likes, using the game camera through screenshot-basic) and Studio (photo editor with filters, adjustments, crop, text and frames) apps.
Photos are downscaled on the device, validated on the server (JPEG, size and rate) and stored in the database or on a configurable HTTPS host.
Recurring charge on the card chosen in the Wallet.
Photo feed with likes and pagination.
Listings by category with fee, duration and per-character limit.
Full photo editor, processed on the device.
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_apps']:ClaimPhoto(playerId, token)
→ any
Stores a photo submitted by a device using its upload token and returns { ok, image } (media:<id> or an HTTPS URL).
| Parameter | Type |
|---|---|
playerId | any |
token | any |
local result = exports['coe_apps']:ClaimPhoto(playerId, token)exports['coe_apps']:DeletePhoto(image)
→ any
Export server DeletePhoto (server/main.lua).
| Parameter | Type |
|---|---|
image | any |
local result = exports['coe_apps']:DeletePhoto(image)exports['coe_apps']:HasApp(playerId, appId, device)
→ any
Checks whether the character has installed a store app on the device. Used by other resources with store apps, such as coe_amzg.
| Parameter | Type |
|---|---|
playerId | any |
appId | any |
device | any |
local result = exports['coe_apps']:HasApp(playerId, appId, device)exports['coe_apps']:PhotoData(id)
→ any
Returns the content of a photo stored in the database (media:<id>).
| Parameter | Type |
|---|---|
id | any |
local result = exports['coe_apps']:PhotoData(id)exports['coe_apps']:StorePhoto(image)
→ any
Export client StorePhoto (client/camera.lua).
| Parameter | Type |
|---|---|
image | any |
local result = exports['coe_apps']:StorePhoto(image)exports['coe_apps']: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_apps']:TabletCall(playerId, appId, action, payload)exports['coe_apps']:TabletVisible(playerId, appId)
→ any
Export server TabletVisible (server/main.lua).
| Parameter | Type |
|---|---|
playerId | any |
appId | any |
local result = exports['coe_apps']:TabletVisible(playerId, appId)exports['coe_apps']:TakePhoto()
→ any
Export client TakePhoto (client/camera.lua).
No parameters.
local result = exports['coe_apps']:TakePhoto()This module registers no commands: it is driven by exports and events.