Multiple Accounts
Up to 3 accounts per character, reserved names blocked.
coe_mailCOE OS Mail
@correio.coe accounts, inboxes and system e-mails
coe_corecoe_databasecoe_logging
coe_mail
3 exports · 0 commands
Runs without a NUI: nothing is rendered on the client and the resource stays idle until events arrive.
E-mail app for the smartphone and tablet, installed on every device. Each character creates up to 3 accounts on the public domain, with a password (stored as a hash), signature and display name; anyone with the password can sign in on any device. Other resources send system e-mails through the Send export.
Accounts are tied to address and password, not to a character: an account can be shared, lost or broken into in roleplay.
Up to 3 accounts per character, reserved names blocked.
Whoever knows the password signs in; a reset signs out other devices.
Send export for notices from other resources.
Display name and signature on new messages.
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_mail']:Send(from, to, subject, body)
→ any
Sends a system email, such as a notification from another resource. from: { address, name }; to: an address or list. Returns { ok, bounced } or { ok = false, error }.
| Parameter | Type |
|---|---|
from | any |
to | any |
subject | any |
body | any |
local result = exports['coe_mail']:Send(from, to, subject, body)exports['coe_mail']: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_mail']:TabletCall(playerId, appId, action, payload)exports['coe_mail']:TabletVisible(playerId, appId)
→ any
Export server TabletVisible (server/main.lua).
| Parameter | Type |
|---|---|
playerId | any |
appId | any |
local result = exports['coe_mail']:TabletVisible(playerId, appId)This module registers no commands: it is driven by exports and events.