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.
10 articles
- 8 min read
FiveM image and video hosting: Fivemanage alternatives compared
Where to host FiveM screenshots, mugshots and clips: FiveDock, Fivemanage, Discord webhooks or your own R2 or S3 bucket, with prices, limits and trade-offs.Uploads/CDN/Fivemanage/Discord - 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