Blog
Guides for FiveM developers
Practical write-ups on NUI, inventories and uploads for FiveM servers, each with code you can paste into your resources.
15 articles
- 11 min read
FiveM image and video hosting: Fivemanage alternatives compared
FiveDock, Fivemanage, Discord webhooks or your own R2 bucket for FiveM screenshots and clips: what each costs, what it includes and when to pick it.Uploads/CDN/Fivemanage/Pricing - 4 min read
FiveM logs: where Discord webhooks fail and what to use instead
Discord webhook logs get rate-limited, can’t be searched by player and lose their attachments. How to log with ox_lib and turn the lines into evidence.Logs/ox_lib/Discord/Evidence - 5 min read
FiveM SCRIPT ERROR: how to read it and fix the resource
SCRIPT ERROR: attempt to index a nil value and other FiveM console errors explained: the file and line to open, the usual causes and the fixes.Errors/Lua/Debugging/Server health - 5 min read
How to restore one FiveM player’s inventory after a dupe or bug
Give one player back their items, money and cars on ESX, QBCore or ox_inventory from a backup, without rolling back the whole server. SQL included.Backups/Rollback/ox_inventory/Dupes - 4 min read
FiveM ACE permissions: give staff only the commands they need
How add_ace and add_principal work in server.cfg, a moderator and admin setup to copy, checks in scripts, and where ACE stops being enough for staff.Staff/Permissions/server.cfg/Security - 6 min read
Discord attachment links expire: move FiveM images to a CDN
MDT mugshots and evidence saved as Discord links now say “This content is no longer available.” Why the links expire, how to find them and how to fix it.Discord/Uploads/MySQL/MDT - 7 min read
fn_phone uploads: photos, videos and voice notes on FiveDock
Send fn_phone’s photos, videos and voice notes to FiveDock instead of your database: one config line, plus the fivedock agent or an API token.fn_phone/Uploads/Lua - 10 min read
Back up a FiveM server and database, and test the restore
mysqldump for oxmysql, server files, encryption, a weekly restore test, and how to give one player their inventory back without rolling back the city.Backups/Database/oxmysql - 11 min read
FiveM oversized assets: shrink .ytd textures without quality loss
FiveM says an asset uses 76 MiB of physical memory? What the oversized assets warning means, why it breaks streaming, and how to shrink .ytd files safely.Streaming/Textures/Performance/Desktop app - 8 min read
FiveM map conflicts: fix flickering MLOs and missing props
Walls flicker, props vanish, an MLO turns invisible? Why FiveM map resources conflict, what each file type breaks, and how to merge .ymap files in a few clicks.Maps/MLO/Desktop app - 7 min read
Find the resource that makes your FiveM server lag
Server stalls or low FPS? How to tell them apart, read FXServer’s profiler, count each resource’s commands and find the script behind the lag.Performance/Debugging/Lua - 11 min read
Interactive GTA V map for FiveM NUI with Leaflet
Build a zoomable GTA V map in a FiveM NUI with Leaflet: a CRS for game coordinates, blips, the live player position, routes, zones and click-to-waypoint.NUI/Leaflet/Lua/Maps - 7 min read
Serve ox_inventory item images from a CDN
Move ox_inventory’s web/images to a CDN with one zip and one convar: a lighter resource, faster joins, and item images you can replace without a restart.ox_inventory/CDN/Performance - 8 min read
FiveM mugshots and screenshots as CDN links, not base64
Upload base64 images from server-side Lua with PerformHttpRequest, store only the link in MySQL, and give every character one stable mugshot URL.Lua/Uploads/MySQL/MDT