The Book · free
The complete FiveM manual
One reference, by topics, to go from basic to professional. Read it free, and if you get stuck, the AI chat answers any of this with code.
Heads up: this is the FiveM manual (running and coding your server). If you're looking for how the Crxative-M platform works, that's in /help.
Chapters
12 chapters · ~128 min total reading
- 1How to make scripts in FiveMFrom zero to your first working command: resources, fxmanifest, basic Lua, the client-server model and the network events that tie it all together.Chapter 1 · 9 min
- 2The structure of a FiveM serverA walkthrough of the folders in a FiveM server: where the binaries live, where your resources go and how they are grouped to keep everything tidy.Chapter 2 · 8 min
- 3server.cfg, OneSync and the ensure orderThe server.cfg is your server's startup script: it defines the network, the resources and the order they load in. Mastering ensure, OneSync and ACE permissions avoids 90% of startup errors.Chapter 3 · 10 min
- 4txAdmin: your control paneltxAdmin is the web panel that already ships inside FXServer. With it you create, start, monitor and administer your FiveM server without touching the console by hand.Chapter 4 · 9 min
- 5Performance: make your server flyEvery resource burns CPU on every frame. Learn to measure with resmon and to write loops that don't melt your players' FPS.Chapter 5 · 11 min
- 6Databases: SQL and oxmysqlFrom oxmysql basics to advanced SQL: JOINs, indexes, transactions, functions, stored procedures, triggers and migrations to save money, vehicles and inventory without losing a byte.Chapter 6 · 16 min
- 7The resources every server usesFiveM gives you the game engine; a roleplay framework adds money, jobs, inventory and persistent identity. Here you'll see ESX, QBCore and the ox ecosystem, and discover the concepts are the same across all of them.Chapter 7 · 10 min
- 8NUI: interfaces over the gameNUI is the web layer FiveM draws over the game: your menus, HUD and phones are HTML, CSS and JavaScript talking to Lua.Chapter 8 · 11 min
- 9Visual modding: maps, vehicles, clothing and texturesAll the visual modding of a server: the tools (OpenIV, CodeWalker, Blender + Sollumz), the GTA formats, and how to add and edit maps/MLO, vehicles, clothing and textures that are streamed to the client, with performance, legality and security.Chapter 9 · 16 min
- 10VSCode ready for FiveMGet VSCode ready to code FiveM resources: Lua and natives extensions, a .luarc.json that recognizes the globals, your own snippets, Git and a fast iteration loop.Chapter 10 · 8 min
- 11Secure hosting and anti-backdoorChoose wisely where you host the server, lock down ports and firewall, and learn to recognize the patterns of a resource with a backdoor before you install it.Chapter 11 · 11 min
- 12From zero to a professional cityThe strategic journey of a server: from a local test to a city with identity, team and community. Build in layers, iterate with data and monetize without breaking the RP.Chapter 12 · 9 min
Need it now?
The chat already knows all of this. Ask your question and get the answer with code.
