Skip to main content

The Core Configuration


The server.cfg file is the brain of your FiveM server. It determines which resources are loaded, defines administrative permissions, establishes your database connection, and configures how your server appears in the global project list.
Reading TimeDifficultyLast Updated
10 minutesBeginnerJanuary 2026

1. Identity & Branding

How your server appears to the world is determined by these variables:
sv_hostname "FREAKHOSTING RP | Custom Cars | Professional Staff"
sets sv_projectName "FREAKHOSTING Roleplay"
sets sv_projectDesc "A premium roleplay environment for serious players."
sets tags "roleplay, drifting, police, qb-core"
sv_maxclients 48
load_server_icon logo.png

2. Authentication Tokens

Your server will not appear on the master list without valid authentication keys.
  • License Key: Obtain yours from the Cfx.re Keymaster.
  • Steam Web API: Required for servers using Steam identifiers for player whitelisting.
sv_licenseKey "cfxk_your_key_here"
set steam_webApiKey "your_apiKey_here"

3. Resource Loading Order

FiveM loads resources sequentially. If a script depends on another (e.g., a job script needs the framework), the dependency must be listed first.
  1. System Basics: spawnmanager, chat, mapmanager.
  2. Database: oxmysql (or legacy mysql-async).
  3. Core Framework: qb-core or es_extended.
  4. Voice: pma-voice.
  5. Assets: [cars], [maps], [clothing].

Organization

Instead of listing 200 individual ensure lines, group your resources into bracketed folders (e.g., /resources/[legal_jobs]/). You can then simply use ensure [legal_jobs] in your config to load everything inside that directory at once.

Support Channels

If you need assistance or have any questions, please contact our support team:

First Month Discount

Use code KB20 at checkout to get 20% off your first month of hosting!

Last Updated: January 2026 | FiveM: Core config verified.