Skip to content

server.cfg & convars

exec server.private.cfg # or: exec db.cfg (license key / database login live there)
sv_maxclients 48
sv_scriptHookAllowed 0
sv_enforceGameBuild 3095 # the build the framework is tested on
set onesync_population false # no ambient NPCs or traffic, the world is meant to be empty

OneSync is turned on in txAdmin (Settings > FXServer), not in this file.

The apocalypse map needs bigger pools. Keep the whole increase_pool_size block from the shipped server.cfg, removing it gets you crashes when the map streams in.

ConvarDefaultWhat
mysql_connection_string-oxmysql database login. Required
bs_defaultLanguageenServer default language for players who never picked one: en pt de pl tr es fr it ru. The F1 key Global.defaultLanguage overrides it if set
bs_vip_tebex_secretemptyOnly if you sell VIP through Tebex. Put it in your private cfg
steam_webApiKeyemptyOptional, Steam profile lookups

Use set, not setr, for anything secret. setr replicates the value to every connected client.

set bs_defaultLanguage "pt"

The full list with comments is on the Installation page. Short rules:

  • oxmysql first, then bs_core before any other bs_*.
  • bs_tester goes right after bs_admin if you use the tester menu.
  • nutria_crawl_anims before bs_zombies.
  • Every folder in [beyond] needs its own ensure, FiveM doesn’t start a folder just because it’s there.

Principals and ACEs go at the bottom. See Admin menu & permissions.