server.cfg is your FiveM server's brain — each line controls a setting. Let's break down the essentials.
Where to find it
Files → server.cfg at the root. Edit it in the browser, server stopped (or apply via txAdmin → CFG Editor then redeploy/restart).
Base configuration
sv_hostname "My RP Server | discord.gg/xxx"
sets tags "roleplay, english, qbcore" # search keywords
sv_projectName "My RP Server" # name shown in the list
sv_projectDesc "My awesome RP community" # list description
sv_maxclients 48 # slots (per your plan)
sv_licenseKey YOUR_KEY # or in Startup
Resources (scripts)
ensure oxmysql # ALWAYS first if using MySQL
ensure spawnmanager
ensure chat
ensure vMenu # popular admin menu
ensure my_script # your custom scripts
ensure loads scripts in file order. Dependencies (oxmysql, framework) first, or your scripts crash at boot.Useful settings
sv_enforceGameBuild 3095 # forced GTA build
sets sv_useDirectListing true # force server list appearance
sv_endpointPrivacy true # hides player IPs in listing
load_server_icon logo.png # 96x96 icon at root
# instead of deleting it — handy to re-enable later.











