Panier 0 Panier
🌐
Langue & Devise
Language & Currency
Langue & Devise
← Retour à la base de connaissance
Article

server.cfg explained line by line (FiveM)

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…

🛡️ Anti-DDoS gaming ⚡ NVMe 🇨🇦 100 % canadien ↩️ Garantie 7 jours 🖥️ Pterodactyl ⚙️ AMD Ryzen 7 9800X3D
📚 Base de connaissance

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
Order matters: 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
Tip: comment a line with # instead of deleting it — handy to re-enable later.

Tu n'as pas trouvé ta réponse ?

Notre équipe canadienne répond en moins d'une heure, 7j/7.

Cet article t'a été utile ?

Powered by WHMCompleteSolution

Serveurs en ligne

Lancez votre serveur
en 60 secondes.

Forfaits dès 6,99 $CA · Protection Anti-DDoS · 100 % Canadien

NordikServer — Game Panel
$ server start
✔ Online in 2.4s — ready
[INFO] Panel ready · Resources allocated
[DDoS] Anti-DDoS shield: ACTIVE
Anti-DDoS Gaming
Garantie 7 jours
En ligne en 60s
🇨🇦 Hébergeur Canadien
99.99% Uptime
Chargement