Your FiveM server.cfg,ready for ESX, Qbox or QBCore.
Ports, OneSync, database connection, admins and resources to start, in the order of the official recipes. The file is built in your browser: your licence key is never sent to us.
server.cfgNone (base resources)
- Without a licence key, the server won't start: create one on portal.cfx.re.
# server.cfg généré avec https://arkya.gg/outils/server-cfg-fivem
# Nom, description, tags, langue et icône du serveur se règlent sur https://portal.cfx.re, plus ici.
# Écoute du serveur : sur un hébergeur, garde le port qu'il t'attribue.
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
# Joueurs et synchronisation
set onesync on
sv_maxclients 48
sv_endpointPrivacy true
sv_scriptHookAllowed 0
# Administrateurs
add_ace group.admin command allow
add_ace group.admin command.quit deny
# Clés : ne publie jamais ce fichier tel quel.
sv_licenseKey "remplace-par-ta-cle"
set steam_webApiKey "none"
# Ressources (Aucun (ressources de base)) : elles doivent exister dans ton dossier resources.
ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure basic-gamemode
ensure hardcap
ensure rconlog
What you no longer set in server.cfg
The server name (sv_hostname), its description (sv_projectName, sv_projectDesc), tags, language and icon are now set on portal.cfx.re. The FiveM documentation marks these commands as deprecated, and txAdmin recipes no longer write them: neither does the generator.
How many players?
The limit depends on OneSync and your Cfx.re subscription, not on your host.
| Setup | Max players | Price at Cfx.re |
|---|---|---|
| Without OneSync | 31 | free |
| OneSync, no subscription | 48 | free |
| Element Club Argentum | 64 | $15 per month, excluding tax |
| Element Club Aurum | 128 (OneSync Infinity) | $25 per month, excluding tax |
| Element Club Platinum | 2,048 (OneSync Infinity) | $50 per month, excluding tax |
Sources: the OneSync documentation and the Cfx.re Server hosting page. Check them before you subscribe: the tiers can change.
The database connection
ESX, Qbox and QBCore store accounts, inventories and vehicles in MySQL or MariaDB, through the oxmysql resource. It reads the mysql_connection_string convar, which must be set before resources start: the generator writes it at the top of the file.
oxmysql misreads some characters in credentials: ; , / ? : @ & = + $ #. Pick a password without them. On an Arkya FiveM server, the free MariaDB database is created with the server: copy its credentials into the form.
Sources
Pages checked on 31 October 2026.
Questions we get asked
Where do I find my licence key?
On portal.cfx.re, with your Cfx.re account: create a key for your server and paste it here.
ESX, Qbox or QBCore?
All three are for roleplay. ESX Legacy is the oldest and most widespread; Qbox builds on QBCore, which the official txAdmin recipe index now marks as deprecated. For a new server, compare their documentation before choosing.
The server says “Couldn't find resource” at startup
A resource named in an ensure line is not in your resources folder. The generator follows the order of the official recipes: install the framework with its txAdmin recipe, or remove the line for the missing resource.
Can I share my server.cfg?
Not as it is: it contains your licence key and your database password. Replace them with dummy values before publishing it.
Are my keys sent to Arkya?
No. The file is built in your browser; nothing you type leaves your machine.
A FiveM host to run this file
txAdmin, a free MariaDB database for oxmysql, live console, in Paris. Billed by the minute, no commitment.
Other tools
- Minecraft RAM calculatorPlayers, mods, simulation distance: the memory and vCPUs you need.
- server.properties generatorAll 69 Minecraft 26.3 settings, explained one by one.
- Minecraft MOTD generator§ colour codes, two-line preview, server.properties and Velocity.
- 7 Days to Die serverconfig.xml generatorAll 68 properties of the V3.2 file, SandboxCode included.
- ARK GameUserSettings.ini generatorRates, PvE, difficulty and breeding, in GameUserSettings.ini and Game.ini.
- enshrouded_server.json file generatorUser groups and passwords, difficulty and 37 gameplay settings.