Skip to main content
VertexMods Logo
Wishlist
Free Tool

FiveM Server.cfg Generator

Create professional FiveM server configurations in seconds. Configure OneSync, game builds, and framework settings with our visual generator - download ready-to-use server.cfg files instantly.

OneSync Support
Instant Download
100% Free

Server Configuration is Confusing

  • FiveM documentation is scattered across multiple sources
  • Wrong OneSync settings cause player sync issues
  • Game build mismatches break DLC content
  • Security settings are easy to misconfigure

Generate Perfect Configs in Seconds

  • Visual form with all common settings explained
  • Pre-configured OneSync modes with descriptions
  • All game builds with DLC names shown
  • Framework-specific resource suggestions included

Everything You Need for Server Configuration

Generate production-ready server.cfg files with these powerful features

OneSync Configuration

Choose between Off, On, Infinity, and Population modes. Each option includes clear descriptions of player limits and features.

Game Build Selector

Select from all available game builds with DLC names. From Los Santos Summer Special (2060) to Bottom Dollar Bounties (3258).

Framework Templates

Get suggested resources for ESX Legacy, QBCore, Qbox, or Standalone setups. Each framework includes common dependencies.

Live Preview

See your configuration update in real-time as you change settings. No surprises when you download.

One-Click Download

Download your server.cfg file instantly. Copy to clipboard or save directly to your computer.

Helpful Comments

Optional inline comments explain each setting. Perfect for learning or documenting your configuration.

Server.cfg Generator

Configure your FiveM server settings and download your configuration file

Server Identity

Maximum 2048 with OneSync Infinity

roleplay

Get your key from keymaster.fivem.net

Technical Settings

Extended range - 2048 players max, recommended for roleplay

Higher builds include more DLC content

Adds suggested resources for your framework

Security

Hides player IP addresses from other players

Enable for singleplayer mods (not recommended for RP)

Export Options

Add helpful comments explaining each setting

Add framework-specific resource suggestions

Preview

#=============================================================================
# FiveM Server Configuration - My FiveM Server
# Generated by VertexMods Server.cfg Generator
# https://vertexmods.com/tools/server-cfg-generator
#=============================================================================

#-----------------------------------------------------------------------------
# LICENSE KEY
# Get your license key from: https://keymaster.fivem.net
#-----------------------------------------------------------------------------
# sv_licenseKey "YOUR_LICENSE_KEY_HERE"

#-----------------------------------------------------------------------------
# SERVER IDENTITY
#-----------------------------------------------------------------------------
sv_hostname "My FiveM Server"
sv_maxclients 64
sets tags "roleplay"
sets locale "en-US"

#-----------------------------------------------------------------------------
# ONESYNC CONFIGURATION
# off = Legacy mode (32 players max)
# on = Basic OneSync (64 players)
# infinity = Extended range (2048 players max, recommended)
# population = Infinity + server-side population
#-----------------------------------------------------------------------------
set onesync infinity

#-----------------------------------------------------------------------------
# GAME BUILD
# Determines which DLC content is available to players
# Higher builds = more content but may require longer load times
#-----------------------------------------------------------------------------
sv_enforceGameBuild 3095

#-----------------------------------------------------------------------------
# SECURITY SETTINGS
#-----------------------------------------------------------------------------
sv_endpointPrivacy true
sv_scriptHookAllowed 0

#-----------------------------------------------------------------------------
# RCON & CONNECTION
# IMPORTANT: Change the rcon_password before going live!
#-----------------------------------------------------------------------------
rcon_password "CHANGE_THIS_PASSWORD"
sv_endpointPrivacy true

#-----------------------------------------------------------------------------
# QBCORE FRAMEWORK RESOURCES
# Adjust based on your actual resource folder names
#-----------------------------------------------------------------------------
# Database
ensure oxmysql

# Framework Core
ensure qb-core
ensure qb-multicharacter
ensure qb-spawn
ensure qb-apartments
ensure qb-inventory
ensure qb-phone
ensure qb-banking
ensure qb-target

# Common Standalone Resources
# ensure ox_lib
# ensure ox_target
# ensure ox_inventory

# Voice Chat (choose one)
# ensure pma-voice
# ensure mumble-voip

# Your Custom Resources
# ensure your_script_here

#-----------------------------------------------------------------------------
# PERFORMANCE CONVARS
#-----------------------------------------------------------------------------
set sv_threadedFrameSync 1
set onesync_distanceCulling 500
set onesync_distanceCullVehicles 250

#-----------------------------------------------------------------------------
# END OF CONFIGURATION
# For more options, visit: https://docs.fivem.net/docs/server-manual/server-commands/
#-----------------------------------------------------------------------------

Save this as server.cfg in your FiveM server folder

Need a Complete Server Setup?

Save hours with our pre-configured FiveM server templates. Ready to run with 50+ scripts included.

Ready to Configure Your Server?

Generate your server.cfg in seconds with our free tool. No signup required.

Free forever. No account needed.