Collision Preload Verification
Confirms ground physics are loaded before releasing player gravity.
coe_spawnSpawns & Camera Choreographer
Safe Materialization with Collision Mesh Preloading
coe_corecoe_characters
coe_spawn
2 exports · 0 commands
Runs without a NUI: nothing is rendered on the client and the resource stays idle until events arrive.
Controls spawn locations for arriving citizens and post-hospital respawns. Preloads world collision meshes before releasing the character entity, eliminating falling-through-the-map glitches and texture popping.
Utilizes FiveM Enhanced asynchronous streaming APIs to ensure solid collision surfaces before enabling entity gravity.
Confirms ground physics are loaded before releasing player gravity.
Smooth orbital camera transition swooping down from the sky onto the character.
Airports, train depots, medical centers, or the exact last saved coordinates.
Configurable invulnerability window and visual transparency upon materialization.
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_spawn']:GetStarterHotel()
→ StarterHotel
Returns the current starter hotel configuration for newly spawned characters.
No parameters.
local result = exports['coe_spawn']:GetStarterHotel()exports['coe_spawn']:SetStarterHotel(data)
→ boolean
Saves and updates starter hotel spawn settings, broadcasting updates to active connected players.
| Parameter | Type |
|---|---|
data | StarterHotel|table |
local result = exports['coe_spawn']:SetStarterHotel(data)This module registers no commands: it is driven by exports and events.