xgaming.tools

FiveM fxmanifest.lua Builder

Free fxmanifest.lua generator for FiveM and RedM resources. fx_version, game, client/server/shared scripts, NUI, dependencies, Lua 5.4. Copy or download ready-to-use manifest.

Basics

Scripts

Client scripts

client/main.lua

Server scripts

server/main.lua

Shared scripts

@ox_lib/init.lua

NUI (Web UI)

Files (NUI assets — HTML/JS/CSS/fonts)

Dependencies

Dependency resources (ensure before loading this)

ox_lib

Generated fxmanifest.lua

-- fxmanifest.lua — generated at xgamingserver.com/tools/fivem/fxmanifest-builder

fx_version "cerulean"
game "gta5"

version "1.0.0"

lua54 "yes"

client_scripts {
    "client/main.lua",
}

server_scripts {
    "@oxmysql/lib/MySQL.lua",
    "server/main.lua",
}

shared_scripts {
    "@ox_lib/init.lua",
}

dependency "ox_lib"

fxmanifest.lua — The Spec Every FiveM Resource Needs

Every FiveM / RedM resource has a single required file: fxmanifest.lua (or the deprecated __resource.lua for pre-2020 resources). It tells the server which Lua/JS files to load, whether it's client-side or server-side, what NUI pages to register, which other resources it depends on, and what FX version API level to target. Get it wrong and your resource crashes or silently fails to load.

This builder asks for the essentials: pick your game (GTA V = gta5, RDR2 = rdr3), pick fx_version (cerulean is the latest and recommended), set author / description / version for the resource listing, and list your client_scripts / server_scripts / shared_scripts. The generator outputs a clean, idiomatic manifest.

Advanced options: Enable Lua 5.4 (recommended for modern resources, adds integer support, bitops, <const>, <close>), TypeScript / JavaScript support (uncommented line for cfx-core bootstrap), NUI ui_page + files, and dependency declarations so the server loads required resources first (oxmysql, ox_lib, qb-core, es_extended, etc).

Copy the generated manifest or download it directly. Save it as fxmanifest.lua in your resource folder — the FiveM runtime reads it on resource start. If you're bundling a QBCore / QBox / ESX resource, the dependency list ensures the framework is loaded first.

FiveM fxmanifest.lua Builder — FAQ

What's the latest fx_version for FiveM?

`cerulean` is the current stable FX API (since 2021). Older options (bodacious, adamant) are legacy. Always use cerulean unless you're maintaining an old resource that depends on a deprecated native.

What's the difference between client_scripts and shared_scripts?

client_scripts run only on the client (the player's GTA V process). server_scripts run on the FX server. shared_scripts run on BOTH — used for event handlers, config tables, and locale files that both sides need to reference. If in doubt, prefer client + server separately for isolation.

Do I need Lua 5.4 in my fxmanifest?

Strongly recommended. `lua54 'yes'` unlocks integer type, bitops, const/close attributes, and better performance. No practical downsides. All modern frameworks (QBox, latest QBCore, Ox libs) require it.

How do I set up NUI (web UI) in fxmanifest?

Set `ui_page 'ui/index.html'` and list the HTML/JS/CSS/font assets under `files { ... }`. FiveM serves them to the client as a Chromium overlay. For more complex setups (React/Vue apps), bundle first with webpack/vite then point ui_page to the built index.html.

What's a dependency in fxmanifest?

`dependency 'ox_lib'` tells the FiveM server that your resource needs ox_lib to be started first. If ox_lib isn't ensured in server.cfg before your resource, FiveM will refuse to start yours. Use this for framework cores (qb-core, es_extended), MySQL libraries (oxmysql), and UI libs (ox_lib).

You might also need

Built-In Tool

Config Tool Built Into XGamingServer

Get managed FiveM hosting with this tool in your panel — configure, deploy, and play in minutes. No file uploads needed.

Built-In Config ToolInstant Server SetupDDoS ProtectionExpert 24/7 Support
Get 40% OFFNo setup fees · Cancel anytime