Skip to content
BRBALKANROLEPLAY
Home News Guides Community Translate & Download
Sign inJoin free ↗
◎ EN ⌄
  • EN English
  • TR Türkçe
  • SQ Shqip
  • MK Македонски
  • SR Srpski
  • BS Bosanski
Sign inJoin free↗
Advertisement
Home / FiveM server.cfg generator
BalkanRoleplay

FiveM server.cfg generator

Generate a starting server.cfg for a vanilla FiveM server: port, slots, OneSync, admin ACE, privacy and your resources, based on the official Cfx.re example.

Fill in what you know and press Generate. The output follows the vanilla example on docs.fivem.net. Your licence key is never asked for here: paste it into the file on your own server.

Your server.cfg

# Generated by balkanroleplay.com. Review every line before use.
# https://docs.fivem.net/docs/server-manual/setting-up-a-server-vanilla/

endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"

ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure basic-gamemode
ensure hardcap
ensure rconlog

sv_scriptHookAllowed 0
sv_endpointPrivacy true

add_ace group.admin command allow
add_ace group.admin command.quit deny

set onesync on
sv_maxclients 48

# Licence key from https://portal.cfx.re (paste it only on your server)
sv_licenseKey changeme

Before you start the server

  • Server name, description and icon are set in the Cfx Portal: Cfx.re marks sv_hostname, sv_projectName and load_server_icon as deprecated.
  • Slots from 32 need OneSync and more than 64 need "onesync on"; the file always enables it, as the official example does.
  • Framework recipes (ESX Legacy, Qbox) are deployed with txAdmin and write their own server.cfg. Use this generator for a vanilla server or as a reference.
  • Resource order matters: dependencies (for example oxmysql, ox_lib) must be ensured before the resources that use them.

server.cfg basics: slots, OneSync, ports and resource commands

Sources

Cfx.re docs · Vanilla server setup (example server.cfg)Cfx.re docs · Server commands
FiveM server cost calculatorFiveM server setup checklistGTA RP economy calculatorGTA RP character generator
Advertisement
BRBALKANROLEPLAY

A home for Balkan players, across every border.

Explore
NewsGuidesCommunityLocalizationGTA VI hubGTA Online beginner hubFiveM hubGTA roleplay guides
BALKANROLEPLAY
AboutCommunity rulesPrivacyTermsFree online toolsEditorial policyCorrections policyContact BalkanRoleplaySources and verification
© 2026 BALKANROLEPLAYBalkanRoleplay is an independent fan community. Not affiliated with, endorsed or sponsored by Rockstar Games or Take-Two Interactive. FiveM/Cfx.re: no affiliation. We use a necessary session cookie, plus optional analytics cookies only after you consent.

We value your privacy

We use a necessary cookie to keep you signed in. With your consent, we also use privacy-respecting analytics (Google Analytics) to understand how the site is used. You can change your choice anytime from the footer.