RE:CORD
REC_WorldManager

Stracture

Welcome to REC_WorldManager documentation.
Added
Updated

Shared settings live in config/sh_config.lua: editor controls the camera, catalog, exit confirmation and sharing; placement provides defaults for standalone and editor placement. Configure command permissions and weather synchronization in config/sv_config.lua.

fxmanifest.lua

--[[
--
--                       ________ __________      ________________ ________ ________
--                       ___  __ \___  ____/_____ __  ____/__  __ \___  __ \___  __ \
--        ________       __  /_/ /__  __/   ___(_)_  /     _  / / /__  /_/ /__  / / /       ________
--        _/_____/       _  _, _/ _  /___   ___   / /___   / /_/ / _  _, _/ _  /_/ /        _/_____/
--                       /_/ |_|  /_____/   _(_)  \____/   \____/  /_/ |_|  /_____/
--
---]]

fx_version 'cerulean'
game 'gta5'
lua54 'yes'

version '1.6.0'
author 'Ⓒ RE:CORD | @Nazu'
description 'World Manager'

dependencies {
    'REC_Library',
    'REC_Utils',
    'REC_PlayerManager',
}

---[[
---     Load order is the dependency order.
---     A protected file cannot be required, so a module publishes itself into the
---     RECWM namespace and every consumer is listed after the modules it reads.
---     Only what a buyer edits is loaded through require, and stays readable.
---]]
shared_script {
    '@REC_Library/init.lua',
    'shared/sh_namespace.lua',
    'config/sh_config.lua',
    'locales/*.lua',
    'shared/sh_enum.lua',
    'shared/sh_format.lua',
    'shared/sh_placement.lua',
    'shared/sh_event.lua',
    'shared/sh_locale.lua',
}

client_scripts {
    'handler/cl_handler.lua',
    'client/cl_utils.lua',
    'client/class/dataview.lua',
    'client/modules/cl_freecam.lua',
    'client/modules/cl_gizmo.lua',
    'client/modules/cl_placement.lua',
    'client/modules/cl_editor.lua',
    'client/modules/cl_editorShare.lua',
    'client/modules/cl_weather.lua',
    'client/modules/cl_nui.lua',
    -- TEMPORARY, remove with the file once the ped spawn crash is settled
    'client/modules/cl_pedtest.lua',
    'client/manager/cl_entityManager.lua',
    'client/manager/cl_zoneManager.lua',
    'client/manager/cl_blipManager.lua',
    'client/manager/cl_sessionManager.lua',
    'client/cl_exports.lua',
    'client/cl_main.lua',
}

server_scripts {
    -- '@oxmysql/lib/MySQL.lua',
    'config/sv_config.lua',
    'handler/sv_handler.lua',
    'server/sv_utils.lua',
    'server/manager/sv_serverManager.lua',
    'server/modules/sv_weather.lua',
    'server/modules/sv_placement.lua',
    'server/modules/sv_editorShare.lua',
    'server/sv_exports.lua',
    'server/sv_main.lua',
}

ui_page 'web/build/index.html'

---[[
---     Only what a buyer edits stays readable, the runtime is protected.
---]]
escrow_ignore {
    'config/*.lua',
    'handler/*.lua',
    'locales/*.lua',
    'annotations.lua',
}

files {
    'web/build/index.html',
    'web/build/assets/*',
    'locales/web/*.json',
}
©2026 RE:CORD Development Group. All rights reserved.