Advanced 20 min

Configure OneSync Infinity on FiveM

Player slots, sync distance, population and OneSync Infinity settings for high-flux FiveM servers.

#OneSync#Infinity#Slots#Performance

Ready to start your service? Check offers and order online.

View offers and order

Configure OneSync Infinity on FiveM server

OneSync Infinity is FiveM's advanced server synchronization mode with **strong population**: more slots, better entity and distance management. This guide details activation, convars, slot selection and impact performance on a liveM server hosted.

OneSync is mandatory beyond 32 players. Infinity expands entity and player management over large areas.

OneSync Legacy vs Infinity

  • Legacy, old mode, entity limits, not recommended new projects
  • Infinity, recommended roleplay/modern, better scalability population and vehicles/peds

Prerequisite

  • FiveM Element Club or higher pattern for high slots (according to Cfx.re policy)
  • FiveM artifacts up to date, optimize FiveM
  • Adapted server RAM (-100-150 MB per active player according to scripts/mapping)
  • OneSync Compatible Scripts (most recent resources)

Activation in server.cfg

# OneSync Infinity
set onesync on
set onesync_enableInfinity 1
set onesync_population true
set sv_maxclients 64

Adjust sv_maxclients according to your offer and license. Do not exceed the available RAM.

Useful containers

ConvarDescription
onesync_distanceCullVehiclesDistance driving vehicles (perf)
onesync_distanceCullPedsDistance climbing peds
sv_entityLockdownStrictly anti-heating mode entities (inactive/relaxed/strict)
onesync_forceMigrationMigration entities between fuckets

Dimensioner slots & RAM

  1. Estimate 4 GB minimum for 32 light RP players
  2. 64 players + mapping: 8-12 GB recommended
  3. 128 players: high RAM dedicated offer + mandatory script optimization
  4. Monitor TXAdmin : CPU, RAM, tick server

Compatibility scripts

  • Check obsolete resources using old native sync
  • ox_lib, qb-core recent: Infinity compatible
  • Scripts "continue" vehicles: test massive spawn
  • Avoid duplicates sync custom customer side

Population & NPC

onesync_population true active traffic NPC. On pure RP server, some admins disable or reduce density via scripts to win FPS client:

  • Adjust density traffic/peds in dedicated resource
  • Immersion Balance vs Performance

entityLockdown and security

Mode strict limit creation unauthorized entities, useful anti-cheat. Can break badly written scripts. Test in staging:

  1. Start in relaxed
  2. Come on. strict after validation of resources
  3. Console Logs for Blocked Entities

More details: Secure FiveM server.

Troubleshooting

  • Players invisible to each other, onesync off or obsolete artifacts
  • Vehicles despawn, aggressive culling, increase distances
  • Crash massive connection, sv_maxclients > License or Saturated RAM
  • Frozen Entities, Bucket conflict / inside MLO

Frequently Asked Questions

Infinity without Element Club ?
Limited free slots (usually 48 max depending on Cfx.re evolutions). Check portal.cfx.re for your landing.

OneSync on local test server?
Even convars; Infinity requires valid license key.

Related guides

Hosting FiveM · Wiki games